Updated the underline attribute in the LinkItem.jsx

This commit is contained in:
Mathias Wagner 2023-07-10 17:01:42 +02:00
parent dfe71f37d7
commit bc7fbcf097
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -2,7 +2,7 @@ import {Link, Typography} from "@mui/material";
export const LinkItem = ({route, onClick}) => {
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}
color={route.path === window.location.pathname ? "primary.main" : "text.primary"}>
{route.name}