diff --git a/src/app/components/Sidebar.tsx b/src/app/components/Sidebar.tsx index 4927c97..b9284e3 100644 --- a/src/app/components/Sidebar.tsx +++ b/src/app/components/Sidebar.tsx @@ -18,6 +18,8 @@ export default function Sidebar({ children }: { children?: React.ReactNode }) { setOpenSubmenu(prev => (prev === menu ? null : menu)) } + const isActive = (path: string) => pathname === path + return ( <>