Skip to content

Commit

Permalink
fix: 🐛 prevent multiple email submission
Browse files Browse the repository at this point in the history
  • Loading branch information
TimMikeladze committed May 30, 2022
1 parent 0a13852 commit b2e366c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AuthDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export function AuthDialog(props: AuthDialogProps) {
};

const handleSubmitEmail = async () => {
if (emailLoading) return;
setEmailLoading(true);
try {
if (props.onSubmitEmail) {
Expand Down

0 comments on commit b2e366c

Please sign in to comment.