Skip to content

Commit ce35f33

Browse files
update readme
1 parent dbd7335 commit ce35f33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Second, you add the custom language packages to your project.
2323

2424
```js
2525
import { setLocale } from 'yup'
26-
import { en, it, de } from '@aboutbits/yup-locales'
26+
import it from '@aboutbits/yup-locales/it'
2727

2828
// If you want that your app returns Italian error messages.
2929
setLocale(it)

0 commit comments

Comments
 (0)