aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/store/useInBookmarkGridStore.ts
blob: d534dc4c15ac7601d10a4d8ba809654400683d4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 }),
}));