single order

This commit is contained in:
hamid zarghami
2026-01-27 08:45:42 +03:30
parent 155e1e0b20
commit bc58e6b564
10 changed files with 161 additions and 36 deletions
+5 -4
View File
@@ -1,8 +1,9 @@
import { create } from "zustand";
import type { StoreType } from "../type/Types";
export const useAuthStore = create((set) => ({
phone: "",
setPhone(value) {
set({ phone: value });
export const useAuthStore = create<StoreType>((set) => ({
items: [],
setItems(value) {
set({ items: value });
},
}));