import { create } from 'zustand';

export const useStore = create((set) => ({
  isSidebarOpen: true,
  user: null,
  setSidebarOpen: (isOpen) => set({ isSidebarOpen: isOpen }),
  setUser: (user) => set({ user }),
}));
