feat: minimap toggle

This commit is contained in:
2026-03-11 13:44:48 +01:00
parent 1cc6b98973
commit 95e1c13dcd
3 changed files with 24 additions and 8 deletions

View File

@@ -13,11 +13,6 @@ function PlatformLayoutInner() {
const { recordProjectAccess } = usePlatform()
const [sidebarOpen, setSidebarOpen] = useState(true)
useEffect(() => {
if (projectId) setSidebarOpen(false)
else setSidebarOpen(true)
}, [projectId])
useEffect(() => {
if (projectId) recordProjectAccess(projectId)
}, [projectId, recordProjectAccess])