Skip to content

Commit

Permalink
docs: tiny typo (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
Forus-Spec authored Feb 21, 2024
1 parent c5f2b48 commit 37659ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/file-upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const schema = z.object({
function Example() {
const [form, fields] = useForm({
onValidate({ formData }) {
return parse(formData, { schema });
return parseWithZod(formData, { schema });
},
});

Expand Down

0 comments on commit 37659ff

Please # to comment.