Skip to content

Commit

Permalink
fix(yup): yup wrong import statement assuming default export (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grsmto authored Jul 15, 2022
1 parent eebd258 commit 928afae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yup/src/yup.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 928afae

Please sign in to comment.