mirror of
https://github.com/karakeep-app/karakeep.git
synced 2026-10-21 06:13:22 +02:00
12 lines
327 B
TypeScript
12 lines
327 B
TypeScript
import { create } from "zustand";
|
|
|
|
interface InBookmarkGridState {
|
|
inBookmarkGrid: boolean;
|
|
setInBookmarkGrid: (inBookmarkGrid: boolean) => void;
|
|
}
|
|
|
|
export const useInBookmarkGridStore = create<InBookmarkGridState>((set) => ({
|
|
inBookmarkGrid: false,
|
|
setInBookmarkGrid: (inBookmarkGrid) => set({ inBookmarkGrid }),
|
|
}));
|