migrate DesktopSideBar to Mui 5 (#87)

This commit is contained in:
Aria Moradi
2021-11-17 17:00:11 +03:30
committed by GitHub
parent bb32fcf45c
commit 057d284a01

View File

@@ -45,7 +45,7 @@ export default function DesktopSideBar({ navBarItems }: IProps) {
}: NavbarItem) => (
<Link to={path} style={{ color: 'inherit', textDecoration: 'none' }} key={path}>
<ListItem disableRipple button key={title}>
<ListItemIcon style={{ minWidth: '0' }}>
<ListItemIcon sx={{ minWidth: '0' }}>
<Tooltip placement="right" title={title}>
{iconFor(path, IconComponent, SelectedIconComponent)}
</Tooltip>