Browse Source

fix(app): persist workspace order and collapsed state

Adam 1 month ago
parent
commit
529eb6e147
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/pages/layout.tsx

+ 1 - 1
packages/app/src/pages/layout.tsx

@@ -64,7 +64,7 @@ import { useServer } from "@/context/server"
 
 
 export default function Layout(props: ParentProps) {
 export default function Layout(props: ParentProps) {
   const [store, setStore, , ready] = persisted(
   const [store, setStore, , ready] = persisted(
-    Persist.global("layout.page", ["layout.page.v1"]),
+    Persist.global("layout", ["layout.v6"]),
     createStore({
     createStore({
       lastSession: {} as { [directory: string]: string },
       lastSession: {} as { [directory: string]: string },
       activeProject: undefined as string | undefined,
       activeProject: undefined as string | undefined,