diff --git a/src/components/navbar/navigation/MobileBottomBar.tsx b/src/components/navbar/navigation/MobileBottomBar.tsx index 325b2f17..9055c460 100644 --- a/src/components/navbar/navigation/MobileBottomBar.tsx +++ b/src/components/navbar/navigation/MobileBottomBar.tsx @@ -10,7 +10,7 @@ import { Box, ListItem, } from '@mui/material'; import { styled } from '@mui/system'; -import { Link, useLocation } from 'react-router-dom'; +import { Link as RRDLink, useLocation } from 'react-router-dom'; const BottomNavContainer = styled('div')(({ theme }) => ({ bottom: 0, @@ -28,6 +28,11 @@ const BottomNavContainer = styled('div')(({ theme }) => ({ zIndex: 1100, })); +const Link = styled(RRDLink)({ + textDecoration: 'none', + flex: 1, +}); + interface IProps { navBarItems: Array } @@ -38,8 +43,8 @@ export default function MobileBottomBar({ navBarItems }: IProps) { { navBarItems.map(({ path, title, IconComponent }: NavbarItem) => ( - - + +