2025-05-25 01:58:18 +00:00
|
|
|
import { create } from 'zustand';
|
|
|
|
|
|
|
|
|
|
export const useLocalStore = create((set) => ({
|
|
|
|
|
user: null,
|
|
|
|
|
setUser: (user) => set({ user }),
|
2025-05-27 18:19:40 +00:00
|
|
|
department: null,
|
|
|
|
|
setDepartment: (department) => set({ department }),
|
2025-06-23 21:55:42 +00:00
|
|
|
access: null,
|
|
|
|
|
setAccess: (access) => set({ access }),
|
2025-05-25 01:58:18 +00:00
|
|
|
}));
|