diff --git a/src/components/layout/NewModernLayout.tsx b/src/components/layout/NewModernLayout.tsx index 2af05fe..3e217ac 100644 --- a/src/components/layout/NewModernLayout.tsx +++ b/src/components/layout/NewModernLayout.tsx @@ -59,9 +59,8 @@ const Logo = () => { ); }; -const SidebarContent = () => { +const AppSidebar = () => { const location = useLocation(); - const { toggleSidebar } = useSidebar(); const mainItems = [ { @@ -124,7 +123,7 @@ const SidebarContent = () => { ]; return ( - <> + @@ -195,7 +194,7 @@ const SidebarContent = () => { - + ); }; @@ -242,9 +241,7 @@ export default function NewModernLayout({ children }: NewModernLayoutProps) { return (
- - - +