Skip to content

Commit

Permalink
Merge pull request #3442 from diaz268/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Aug 13, 2021
2 parents 7fe4b1c + cc40b0b commit 03d3389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/tutorials/best-practices.md
Expand Up @@ -22,7 +22,7 @@ const schema = yup.object({
You should leverage your bundler's tree-shaking capabilities and only import what you need:

```js
import { object, string } as yup from 'yup';
import { object, string } from 'yup';

const schema = object({
email: string().email(),
Expand Down

0 comments on commit 03d3389

Please sign in to comment.