Initial commit

This commit is contained in:
decolua
2026-01-05 09:58:59 +07:00
commit 3857598de4
159 changed files with 14537 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
"use client";
import { create } from "zustand";
const useUserStore = create((set) => ({
user: null,
loading: false,
error: null,
setUser: (user) => set({ user }),
clearUser: () => set({ user: null }),
setLoading: (loading) => set({ loading }),
setError: (error) => set({ error }),
}));
export default useUserStore;