We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb1067 commit 4b04140Copy full SHA for 4b04140
src/app/components/pages/IsaacCompetition/EntryForm/CompetitionEntryForm.tsx
@@ -73,15 +73,15 @@ export const CompetitionEntryForm = ({ handleTermsClick }: CompetitionEntryFormP
73
if (selectedValues.length > 4) {
74
setMemberSelectionError("Limit of 4 students reached. To select a new student, remove one first.");
75
76
+ setTimeout(() => {
77
+ setMemberSelectionError("");
78
+ }, 10000);
79
+
80
return;
81
}
82
83
setMemberSelectionError("");
84
setSelectedMembers(selectedValues);
-
- setTimeout(() => {
- setMemberSelectionError("");
- }, 10000);
85
};
86
87
const isSchoolValid = isSchoolValidForCompetition();
0 commit comments