Skip to content

Commit 928afae

Browse files
authored
fix(yup): yup wrong import statement assuming default export (#427)
1 parent eebd258 commit 928afae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yup/src/yup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Yup from 'yup';
1+
import * as Yup from 'yup';
22
import { toNestError, validateFieldsNatively } from '@hookform/resolvers';
33
import { appendErrors, FieldError } from 'react-hook-form';
44
import { Resolver } from './types';

0 commit comments

Comments
 (0)