Skip to content

Commit

Permalink
fix: Rapid clicking create button duplicates requests
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 committed Dec 9, 2024
1 parent e6c4f31 commit 26aab58
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ const CreateDataSubmissionDialog: FC<Props> = ({ onCreate }) => {
},
})
.then(() => {
reset();
setCreatingSubmission(false);
setError(false);
if (onCreate) {
Expand Down

0 comments on commit 26aab58

Please sign in to comment.