request list + structure

This commit is contained in:
hamid zarghami
2025-10-20 12:28:48 +03:30
commit dbe37e371e
89 changed files with 9547 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { create } from "zustand";
import { persist } from "zustand/middleware";
import type { SharedStoreType } from "../types/Types";
export const useSharedStore = create<SharedStoreType>()(
persist(
(set): SharedStoreType => ({
openSidebar: false,
setOpenSidebar: (open) => set({ openSidebar: open }),
}),
{
name: "negareh-share-store",
}
)
);