diff --git a/src/components/Forms/WalletAuthForm/Connect.tsx b/src/components/Forms/WalletAuthForm/Connect.tsx index ac5dc890a5..41f7297c4e 100644 --- a/src/components/Forms/WalletAuthForm/Connect.tsx +++ b/src/components/Forms/WalletAuthForm/Connect.tsx @@ -255,9 +255,7 @@ const Connect: React.FC = ({ if (submitCallback) { submitCallback() - } - - if (closeDialog) { + } else if (closeDialog) { closeDialog() } }