Skip to content

Commit

Permalink
Fixed registration bug when double clicking school not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Smilinko committed Dec 9, 2023
1 parent e1731f1 commit a861e89
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/SchoolSubForm/SchoolSubForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export const SchoolSubForm = ({control, watch, setValue}: SchoolSubFormProps<Sch
setValue('school', otherSchoolItem.current)
} else if (!without_school) {
setValue('school', null)
setValue('grade', '')
}
}, [school_not_found])

Expand Down

0 comments on commit a861e89

Please sign in to comment.