import { create } from "zustand";
import { SharedStoreType } from "../types/SharedTypes";

export const useSharedStore = create<SharedStoreType>((set) => ({
  openSidebar: false,
  setOpenSidebar: (value) => set({ openSidebar: value }),
  isLogin: false,
  setIsLogin: (value) => set({ isLogin: value }),
}));
