From 1c9cb7dad40fcff5c76e8692fe2c51af3ecc2209 Mon Sep 17 00:00:00 2001 From: Forus Essayeh <118015826+Forus-Spec@users.noreply.github.com> Date: Wed, 21 Feb 2024 15:20:57 +0100 Subject: [PATCH] tiny typo parse -> parseWithZod --- docs/file-upload.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }); }, });