Updated the underline attribute in the LinkItem.jsx
This commit is contained in:
parent
dfe71f37d7
commit
bc7fbcf097
@ -2,7 +2,7 @@ import {Link, Typography} from "@mui/material";
|
|||||||
|
|
||||||
export const LinkItem = ({route, onClick}) => {
|
export const LinkItem = ({route, onClick}) => {
|
||||||
return (
|
return (
|
||||||
<Link underline="none" sx={{cursor: "pointer"}} onClick={onClick}>
|
<Link underline="hover" sx={{cursor: "pointer"}} onClick={onClick}>
|
||||||
<Typography variant="h5" sx={{mx: 2}} fontWeight={600}
|
<Typography variant="h5" sx={{mx: 2}} fontWeight={600}
|
||||||
color={route.path === window.location.pathname ? "primary.main" : "text.primary"}>
|
color={route.path === window.location.pathname ? "primary.main" : "text.primary"}>
|
||||||
{route.name}
|
{route.name}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user