Skip to content

Commit

Permalink
fix(src/components/NavBar/MobileNavBar/index.tsx): Adicionando lowerC…
Browse files Browse the repository at this point in the history
…ase as rotas - @Wander06 @Marvysonprog
  • Loading branch information
Wanderson Silva authored and Wanderson Silva committed Oct 29, 2024
1 parent d227124 commit d0f9a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Home() {

useEffect(() => {
if (isMounted) {
router.push("/Nivelamento")
router.push("/nivelamento")
}
}, [isMounted, router])

Expand Down
2 changes: 1 addition & 1 deletion src/components/NavBar/MobileNavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const MobileMenu: React.FC<MobileMenuProps> = ({ list }) => {
>
{list.map((item) => (
<MenuItem key={item} onClick={handleCloseNavMenu}>
<Link href={item ? `/${item}`: `/`}
<Link href={item ? `/${item.toLowerCase()}`: `/`}
underline="none"
textAlign="center"
sx={{ color: theme.palette.textColor?.light }}
Expand Down

0 comments on commit d0f9a12

Please sign in to comment.