diff options
Diffstat (limited to 'apps/web/lib/store')
| -rw-r--r-- | apps/web/lib/store/useInBookmarkGridStore.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/web/lib/store/useInBookmarkGridStore.ts b/apps/web/lib/store/useInBookmarkGridStore.ts new file mode 100644 index 00000000..d534dc4c --- /dev/null +++ b/apps/web/lib/store/useInBookmarkGridStore.ts @@ -0,0 +1,11 @@ +import { create } from "zustand"; + +interface InBookmarkGridState { + inBookmarkGrid: boolean; + setInBookmarkGrid: (inBookmarkGrid: boolean) => void; +} + +export const useInBookmarkGridStore = create<InBookmarkGridState>((set) => ({ + inBookmarkGrid: false, + setInBookmarkGrid: (inBookmarkGrid) => set({ inBookmarkGrid }), +})); |
