mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
chore: undo bio changes
This commit is contained in:
parent
e8c467c3a2
commit
b41e0da13c
2 changed files with 10 additions and 10 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue