Skip to content

Commit

Permalink
exclude repeat password
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Aug 13, 2024
1 parent 1a0ec0a commit 7db6943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/register/TeacherForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const TeacherForm: FC<TeacherFormProps> = () => {
},
}}
onSubmit={submitForm(createTeacher, {
// TODO: exclude: ["user.password_repeat"],
exclude: ["user.password_repeat"],

Check failure on line 40 in src/pages/register/TeacherForm.tsx

View workflow job for this annotation

GitHub Actions / main / test / test-js-code

Object literal may only specify known properties, and 'exclude' does not exist in type '{ then?: ((result: CreateTeacherResult) => void) | undefined; catch?: ((error: Error) => void) | undefined; finally?: (() => void) | undefined; }'.

Check failure on line 40 in src/pages/register/TeacherForm.tsx

View workflow job for this annotation

GitHub Actions / main / test / test-js-code

Object literal may only specify known properties, and 'exclude' does not exist in type '{ then?: ((result: CreateTeacherResult) => void) | undefined; catch?: ((error: Error) => void) | undefined; finally?: (() => void) | undefined; }'.
then: () => {
navigate(paths.register.emailVerification.userType.teacher._)
},
Expand Down

0 comments on commit 7db6943

Please sign in to comment.