diff --git a/src/components/dashboard/menu.tsx b/src/components/dashboard/menu.tsx index 7a4a265..ff73670 100644 --- a/src/components/dashboard/menu.tsx +++ b/src/components/dashboard/menu.tsx @@ -1,7 +1,7 @@ "use client"; import Link from "next/link"; -import { Ellipsis, LogOut } from "lucide-react"; +import { Ellipsis, LogOut, LucideIcon } from "lucide-react"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; @@ -51,55 +51,59 @@ export function Menu({ isOpen }: MenuProps) {
)} {menus.map( - ({ href, label, icon: Icon, active, submenus }, index) => - submenus.length === 0 ? ( -