import { create } from 'zustand' interface ValidationState { formatError: string | null setFormatError: (error: string | null) => void } export const useValidationStore = create((set) => ({ formatError: null, setFormatError: (error) => set({ formatError: error }), }))