diff --git a/src/components/SettingsLayout.tsx b/src/components/SettingsLayout.tsx index fae67aac..6c5c8f84 100644 --- a/src/components/SettingsLayout.tsx +++ b/src/components/SettingsLayout.tsx @@ -2,7 +2,7 @@ import { useState, useEffect } from 'react'; import { useNavigate, useLocation, Outlet } from 'react-router-dom'; import { Button } from '@/components/ui/button'; import { ScrollArea } from '@/components/ui/scroll-area'; -import { Menu, Columns2, Bot, GitBranch, Database } from 'lucide-react'; +import { Menu, Bot, GitBranch, Database } from 'lucide-react'; import { ProjectSidebar } from '@/components/ProjectSidebar'; import { useProjectsManager } from '@/hooks/useProjectsManager'; import { useIsMobile } from '@/hooks/useIsMobile'; @@ -145,6 +145,7 @@ export function SettingsLayout() { selectedProject={null} onSelectProject={handleProjectSelect} className="h-full" + onToggleSidebar={() => setIsSidebarVisible(false)} /> )} @@ -154,15 +155,17 @@ export function SettingsLayout() { {/* Header with toggle button */}
- + {!isSidebarVisible && ( + + )}

Settings