UNPKG

@lifi/widget

Version:

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

11 lines 429 B
import { shallow } from 'zustand/shallow'; import { useFormStore } from './useFormStore.js'; export const useValidationActions = () => { const actions = useFormStore((store) => ({ addFieldValidation: store.addFieldValidation, triggerFieldValidation: store.triggerFieldValidation, clearErrors: store.clearErrors, }), shallow); return actions; }; //# sourceMappingURL=useValidationActions.js.map