[SKIP CI][ESLint] Fix linting issue

This commit is contained in:
schroda
2024-04-20 14:45:24 +02:00
parent b1f97fdf69
commit 65992bbcdb
2 changed files with 3 additions and 3 deletions

View File

@@ -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<HTMLLIElement, IconMenuItemProps>(
({ MenuItemProps, className, label, LeftIcon, renderLabel, RightIcon, ...props }, ref) => (
<MenuItem {...MenuItemProps} ref={ref}>
<MenuItem {...MenuItemProps} ref={ref} className={className} {...props}>
{LeftIcon && (
<ListItemIcon>
<LeftIcon fontSize="small" />

View File

@@ -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
*/