Skip to content

Commit

Permalink
chore: edit check condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Donghyun Hwang committed Nov 3, 2024
1 parent df6c277 commit 00709a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ import CSRoutes from '@pages/CS/CSRoutes';
import { About } from '@pages/About';

function App() {
//
const location = useLocation();
const isInHome = location.pathname === '/';

//
const isInAttendanceList = useMatch('/attendance/list/generation/:generationId');
const isInHome = useMatch('/');

//
//
Expand Down

0 comments on commit 00709a4

Please sign in to comment.