lint
This commit is contained in:
parent
f4ddd8461d
commit
f21c3bfb12
|
|
@ -6,9 +6,7 @@ import {
|
|||
Group,
|
||||
ThemeIcon,
|
||||
UnstyledButton,
|
||||
alpha,
|
||||
rem,
|
||||
useMantineTheme,
|
||||
} from "@mantine/core";
|
||||
import { TbChevronRight } from "react-icons/tb";
|
||||
import * as TbIcons from "react-icons/tb";
|
||||
|
|
@ -37,8 +35,6 @@ export default function MenuItem({ menu }: Props) {
|
|||
|
||||
const pathname = usePathname()
|
||||
|
||||
const theme = useMantineTheme();
|
||||
|
||||
const [opened, setOpened] = useState(menu.children?.some(child => areURLsSame(`${dashboardConfig.baseRoute}${child.link}`, pathname)) ?? false);
|
||||
|
||||
const toggleOpenMenu = () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user