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'
}
// if (!values.bio) {
// errors.bio = 'Required'
// }
if (!values.bio) {
errors.bio = 'Required'
}
return errors
}
@ -163,7 +163,7 @@ function InviteOnlySignUpComponent(props: InviteOnlySignUpProps) {
</FormField>
{/* for bio */}
{/* <FormField name="bio">
<FormField name="bio">
<FormLabelAndMessage label="Bio" message={formik.errors.bio} />
<Form.Control asChild>
@ -173,7 +173,7 @@ function InviteOnlySignUpComponent(props: InviteOnlySignUpProps) {
required
/>
</Form.Control>
</FormField> */}
</FormField>
<div className="flex py-4">
<Form.Submit asChild>

View file

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