import { create } from 'zustand' interface StoreState { currentModal: string setCurrentModal: (str: string) => void } export const useModalStore = create((set) => ({ currentModal: '', setCurrentModal: (str) => set({ currentModal: str }), }))