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 378 B
import { shallow } from 'zustand/shallow'; import { useFormStore } from './useFormStore.js'; export const useValidation = () => { const [isValid, isValidating, errors] = useFormStore((store) => [store.isValid, store.isValidating, store.errors], shallow); return { isValid, isValidating, errors, }; }; //# sourceMappingURL=useValidation.js.map