The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
refacto(auth): Simplify workspace lookup and cleanup UI logic (#9160)
Antoine Moreauxee0282bcc8a9
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsxindex ef4950f3122..737ac7aa7c6 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx@@ -107,9 +107,10 @@ export const SignInUpGlobalScopeForm = () => {<><StyledContentContainer>{authProviders.google && <SignInUpWithGoogle />}-{authProviders.microsoft && <SignInUpWithMicrosoft />}- <HorizontalSeparator visible />+ {(authProviders.google || authProviders.microsoft) && (+ <HorizontalSeparator visible />+ )}{/* eslint-disable-next-line react/jsx-props-no-spreading */}<FormProvider {...form}><StyledForm onSubmit={form.handleSubmit(handleSubmit)}>