From b2e366c210d6fb7e314364511a795909edebfd9b Mon Sep 17 00:00:00 2001 From: TimMikeladze Date: Mon, 30 May 2022 23:48:16 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20prevent=20multiple=20emai?= =?UTF-8?q?l=20submission?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/AuthDialog.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AuthDialog.tsx b/src/AuthDialog.tsx index 10a5c76..a35b3b8 100644 --- a/src/AuthDialog.tsx +++ b/src/AuthDialog.tsx @@ -260,6 +260,7 @@ export function AuthDialog(props: AuthDialogProps) { }; const handleSubmitEmail = async () => { + if (emailLoading) return; setEmailLoading(true); try { if (props.onSubmitEmail) {