From b22de4bd7111b09cc989e918e9a33c0025629017 Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Fri, 15 Mar 2024 17:08:15 +0800 Subject: [PATCH] fix: refactor --- apps/web/src/components/forms/signin.tsx | 95 ++++++++++++------------ 1 file changed, 48 insertions(+), 47 deletions(-) diff --git a/apps/web/src/components/forms/signin.tsx b/apps/web/src/components/forms/signin.tsx index 10e974d4a..6fa5492ac 100644 --- a/apps/web/src/components/forms/signin.tsx +++ b/apps/web/src/components/forms/signin.tsx @@ -293,6 +293,8 @@ export const SignInForm = ({ className, initialEmail, isGoogleSSOEnabled }: Sign + +

- )} /> + + + + {(isGoogleSSOEnabled || isPasskeyEnabled) && ( +
+
+ Or continue with +
+
+ )} + + {isGoogleSSOEnabled && ( + + )} + + {isPasskeyEnabled && ( + + )} - - - - {(isGoogleSSOEnabled || isPasskeyEnabled) && ( -
-
- Or continue with -
-
- )} - - {isGoogleSSOEnabled && ( - - )} - - {isPasskeyEnabled && ( - - )}