Skip to content

Commit

Permalink
πŸ› fix: path name 반영 #39
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeona01 committed Oct 24, 2024
1 parent 4191dad commit 8c20a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Common/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Navbar = () => {
svg: SearchIcon,
},
{
path: '/applicants',
path: '/application',
svg: DocumentsIcon,
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Layout = () => {
const location = useLocation();

// Nav bar μ»΄ν¬λ„ŒνŠΈκ°€ λžœλ”©λ˜λŠ” νŽ˜μ΄μ§€
const showNavbarPaths = ['/', '/profile', '/search', '/applicants'];
const showNavbarPaths = ['/', '/profile', '/search', '/application'];

const shouldShowNavbar = showNavbarPaths.includes(location.pathname);

Expand Down

0 comments on commit 8c20a25

Please sign in to comment.