diff --git a/src/components/menu/IconMenuItem.tsx b/src/components/menu/IconMenuItem.tsx index f25301bf..ffee8fba 100644 --- a/src/components/menu/IconMenuItem.tsx +++ b/src/components/menu/IconMenuItem.tsx @@ -7,7 +7,7 @@ */ /* - * src: https://github.com/webzep/mui-nested-menu (2024-04-20 01:42) + * src: https://github.com/webzep/mui-nested-menu/blob/main/packages/mui-nested-menu/src/components/IconMenuItem.tsx (2024-04-20 01:42) */ import ListItemIcon from '@mui/material/ListItemIcon'; @@ -34,7 +34,7 @@ type IconMenuItemProps = { export const IconMenuItem = forwardRef( ({ MenuItemProps, className, label, LeftIcon, renderLabel, RightIcon, ...props }, ref) => ( - + {LeftIcon && ( diff --git a/src/components/menu/NestedMenuItem.tsx b/src/components/menu/NestedMenuItem.tsx index d5053757..4d8b9eb2 100644 --- a/src/components/menu/NestedMenuItem.tsx +++ b/src/components/menu/NestedMenuItem.tsx @@ -7,7 +7,7 @@ */ /* - * src: https://github.com/webzep/mui-nested-menu (2024-04-20 01:42) + * src: https://github.com/webzep/mui-nested-menu/blob/main/packages/mui-nested-menu/src/components/NestedMenuItem.tsx (2024-04-20 01:42) * * with a few changes to fix a bug on mobile devices where opening the sub menu immediately triggered the on click of the underlying menu item */