Files
negareh-console/src/pages/request/store/RequestStore.ts
T
hamid zarghami b308150303 Requests
2026-02-22 16:30:11 +03:30

10 lines
214 B
TypeScript

import { create } from "zustand";
import type { StoreType } from "../type/Types";
export const useRequestStore = create<StoreType>((set) => ({
items: [],
setItems(value) {
set({ items: value });
},
}));