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

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