chore: init monorepo snapshot

This commit is contained in:
liaibo
2025-11-23 10:55:04 +08:00
commit c70ff52869
941 changed files with 246586 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
"use client";
import { create } from "zustand";
interface PageLayoutState {
showInspector: boolean;
toggleInspector: () => void;
setInspector: (visible: boolean) => void;
}
export const usePageLayoutStore = create<PageLayoutState>((set) => ({
showInspector: true,
toggleInspector: () =>
set((state) => ({
showInspector: !state.showInspector,
})),
setInspector: (visible) => set({ showInspector: visible }),
}));