Skip to content

Commit

Permalink
Fixed registration bug when double clicking school not found (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smilinko authored Dec 9, 2023
1 parent 821c08d commit 87e4be2
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 @@ -75,7 +75,6 @@ export const SchoolSubForm = ({control, watch, setValue, gap}: SchoolSubFormProp
setValue('school', otherSchoolItem.current)
} else if (!without_school) {
setValue('school', null)
setValue('grade', '')
}
}, [school_not_found])

Expand Down

0 comments on commit 87e4be2

Please sign in to comment.