feature/state-and-data-fetching #1

Merged
ilia merged 27 commits from feature/state-and-data-fetching into main 2026-03-24 08:02:20 +00:00
Showing only changes of commit a98a9c2c79 - Show all commits

View File

@@ -0,0 +1,9 @@
import { create } from "zustand";
import type { AuthStore } from "../../types/store";
export const useAuthStore = create<AuthStore>()((set) => ({
user: undefined,
status: "idle",
setUser: (user) => set({ user }),
setStatus: (status) => set({ status }),
}));