chore: undo bio changes

This commit is contained in:
rzmk 2025-07-01 23:55:20 -04:00
parent e8c467c3a2
commit b41e0da13c
2 changed files with 10 additions and 10 deletions

View file

@ -38,9 +38,9 @@ const validate = (values: any) => {
errors.username = 'Username must be at least 4 characters' errors.username = 'Username must be at least 4 characters'
} }
// if (!values.bio) { if (!values.bio) {
// errors.bio = 'Required' errors.bio = 'Required'
// } }
return errors return errors
} }
@ -163,7 +163,7 @@ function InviteOnlySignUpComponent(props: InviteOnlySignUpProps) {
</FormField> </FormField>
{/* for bio */} {/* for bio */}
{/* <FormField name="bio"> <FormField name="bio">
<FormLabelAndMessage label="Bio" message={formik.errors.bio} /> <FormLabelAndMessage label="Bio" message={formik.errors.bio} />
<Form.Control asChild> <Form.Control asChild>
@ -173,7 +173,7 @@ function InviteOnlySignUpComponent(props: InviteOnlySignUpProps) {
required required
/> />
</Form.Control> </Form.Control>
</FormField> */} </FormField>
<div className="flex py-4"> <div className="flex py-4">
<Form.Submit asChild> <Form.Submit asChild>

View file

@ -38,9 +38,9 @@ const validate = (values: any) => {
errors.username = 'Username must be at least 4 characters' errors.username = 'Username must be at least 4 characters'
} }
// if (!values.bio) { if (!values.bio) {
// errors.bio = 'Required' errors.bio = 'Required'
// } }
return errors return errors
} }
@ -157,7 +157,7 @@ function OpenSignUpComponent() {
</FormField> </FormField>
{/* for bio */} {/* for bio */}
{/* <FormField name="bio"> <FormField name="bio">
<FormLabelAndMessage label="Bio" message={formik.errors.bio} /> <FormLabelAndMessage label="Bio" message={formik.errors.bio} />
<Form.Control asChild> <Form.Control asChild>
@ -167,7 +167,7 @@ function OpenSignUpComponent() {
required required
/> />
</Form.Control> </Form.Control>
</FormField> */} </FormField>
<div className="flex py-4"> <div className="flex py-4">
<Form.Submit asChild> <Form.Submit asChild>