From 928afae6ea1c9174e591953c008d9c8c86a43e57 Mon Sep 17 00:00:00 2001 From: Adrien Denat Date: Fri, 15 Jul 2022 04:30:06 -0300 Subject: [PATCH] fix(yup): yup wrong import statement assuming default export (#427) --- yup/src/yup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yup/src/yup.ts b/yup/src/yup.ts index 70124cfb..83cfb649 100644 --- a/yup/src/yup.ts +++ b/yup/src/yup.ts @@ -1,4 +1,4 @@ -import Yup from 'yup'; +import * as Yup from 'yup'; import { toNestError, validateFieldsNatively } from '@hookform/resolvers'; import { appendErrors, FieldError } from 'react-hook-form'; import { Resolver } from './types';