Skip to content

Commit

Permalink
Update yup schema example with correct comments (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
liby authored Nov 28, 2024
1 parent a688f47 commit f8f6211
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/docs/pages/docs/schema/yup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ const fieldConfig = buildYupFieldConfig<
}
>();

// Define your form schema using zod

// Define your form schema using yup
const yupFormSchema = object({
name: string().required().label("Your Name").default("John Doe"),

Expand Down

0 comments on commit f8f6211

Please sign in to comment.