diff --git a/docs/file-upload.md b/docs/file-upload.md index f2285280..88f24cd5 100644 --- a/docs/file-upload.md +++ b/docs/file-upload.md @@ -61,7 +61,7 @@ const schema = z.object({ function Example() { const [form, fields] = useForm({ onValidate({ formData }) { - return parse(formData, { schema }); + return parseWithZod(formData, { schema }); }, });