small updates and bump version

This commit is contained in:
Ren Amamiya
2023-09-05 17:25:00 +07:00
parent 224439f62b
commit 69a3e85cb3
8 changed files with 32 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ export const useSidebar = create<SidebarState>()(
}),
{
name: 'sidebar',
storage: createJSONStorage(() => localStorage),
storage: createJSONStorage(() => sessionStorage),
}
)
);

View File

@@ -122,7 +122,7 @@ export const useWidgets = create<WidgetState>()(
}),
{
name: 'widgets',
storage: createJSONStorage(() => localStorage),
storage: createJSONStorage(() => sessionStorage),
}
)
);