migrate DesktopSideBar to Mui 5 (#87)
This commit is contained in:
@@ -45,7 +45,7 @@ export default function DesktopSideBar({ navBarItems }: IProps) {
|
|||||||
}: NavbarItem) => (
|
}: NavbarItem) => (
|
||||||
<Link to={path} style={{ color: 'inherit', textDecoration: 'none' }} key={path}>
|
<Link to={path} style={{ color: 'inherit', textDecoration: 'none' }} key={path}>
|
||||||
<ListItem disableRipple button key={title}>
|
<ListItem disableRipple button key={title}>
|
||||||
<ListItemIcon style={{ minWidth: '0' }}>
|
<ListItemIcon sx={{ minWidth: '0' }}>
|
||||||
<Tooltip placement="right" title={title}>
|
<Tooltip placement="right" title={title}>
|
||||||
{iconFor(path, IconComponent, SelectedIconComponent)}
|
{iconFor(path, IconComponent, SelectedIconComponent)}
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|||||||
Reference in New Issue
Block a user