@@ -662,9 +665,11 @@ export function CanvasPage({ projectId }: CanvasPageProps) {
-
-
-
+ {showMinimap && (
+
+
+
+ )}
diff --git a/frontend/src/app/platform/PlatformPage.tsx b/frontend/src/app/platform/PlatformPage.tsx
index aa84797..1bcf707 100644
--- a/frontend/src/app/platform/PlatformPage.tsx
+++ b/frontend/src/app/platform/PlatformPage.tsx
@@ -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])