Skip to content

Commit

Permalink
fix: double submit race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 committed Oct 11, 2023
1 parent 0bb36d4 commit f69e71a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ const SubmitProctoredExamInstructions = () => {
const handleSubmitClick = () => {
if (examHasLtiProvider) {
window.location.assign(submitLtiAttemptUrl);
} else {
submitExam();
}
submitExam();
};

return (
Expand Down

0 comments on commit f69e71a

Please sign in to comment.