From b9e985e96cb5f3eb641e659a66ed97ec9e0eabd6 Mon Sep 17 00:00:00 2001 From: Danh Date: Tue, 31 Oct 2023 13:33:44 +0700 Subject: [PATCH] sort in login --- src/pages/Oauth/AuthForm/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Oauth/AuthForm/index.tsx b/src/pages/Oauth/AuthForm/index.tsx index dd1384333f..771611851e 100644 --- a/src/pages/Oauth/AuthForm/index.tsx +++ b/src/pages/Oauth/AuthForm/index.tsx @@ -49,7 +49,6 @@ const AuthForm: React.FC = ({ formConfig, signInWithEth, flowStat const hasEmail = loginMethods.includes(LoginMethod.EMAIL) const nodes = [] - if (hasEmail) nodes.push() if (hasEth) nodes.push( = ({ formConfig, signInWithEth, flowStat primary={!hasEmail} />, ) + if (hasEmail) nodes.push() if (hasGoogle) nodes.push() return nodes }, [disableEth, flowStatus, formConfig, processingSignIn, signInWithEth])