mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 11:59:26 +00:00
chore: remove bio from signups
This commit is contained in:
parent
272ea6c4ae
commit
e8c467c3a2
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'
|
||||
}
|
||||
|
||||
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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue