Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
reValidateMode typo
  • Loading branch information
irekrog authored Jan 11, 2023
1 parent 006513e commit 1e78aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ The default behavior for this library is that errors will be shown once the user
```tsx
const form = useForm<z.infer<typeof MyFormSchema>>({
resolver: zodResolver(MyFormSchema),
revalidateMode: "onSubmit" // now the form revalidates on submit
reValidateMode: "onSubmit" // now the form revalidates on submit
});

return (
Expand Down

0 comments on commit 1e78aff

Please sign in to comment.