Skip to content

Commit 6658e7a

Browse files
authored
chore(docs): fix missing comma typo
added a missing comma to fix the code error in the docs
1 parent 6e35315 commit 6658e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/guide/composition-api/typed-schema.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ const { values, handleSubmit } = useForm({
306306
validationSchema: toTypedSchema(
307307
v.object({
308308
name: v.pipe(v.string()),
309-
email: v.pipe(v.string() v.nonEmpty('required')),
309+
email: v.pipe(v.string(), v.nonEmpty('required')),
310310
password: v.pipe(v.string(), v.minLength(6, 'Must be at least 6 characters')),
311311
}),
312312
),

0 commit comments

Comments
 (0)