Skip to content

Commit 7c8d290

Browse files
authored
fix(auth): drop the redundant "Continue with" from the Google sign-in button (#6862)
The login and signup social buttons sit under an "Or continue with" divider, so "Continue with Google" read as "Or continue with Continue with Google" — and its siblings on the same stack are bare "GitHub" and "Microsoft". Restore "Google" and hand the icon back to the chip's own leftIcon slot so it picks up the canonical 16px chipContentIconClass instead of a className size override. The landing auth modal is a different surface: every button there reads "Continue with X" (Microsoft, GitHub, email), so its Google label is correct and stays. Only its icon changes, 20px back to the 18px both siblings use.
1 parent 5d6268d commit 7c8d290

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/sim/app/(auth)/components/social-login-buttons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ export function SocialLoginButtons({
8585
const googleButton = (
8686
<Chip
8787
fullWidth
88-
leftAdornment={<GoogleIcon className='size-[20px] shrink-0' />}
88+
leftIcon={GoogleIcon}
8989
className={cn(AUTH_BUTTON_CLASS, 'border border-[var(--border-1)]')}
9090
disabled={!googleAvailable || isGoogleLoading}
9191
onClick={signInWithGoogle}
9292
>
93-
{isGoogleLoading ? 'Connecting…' : 'Continue with Google'}
93+
{isGoogleLoading ? 'Connecting…' : 'Google'}
9494
</Chip>
9595
)
9696

apps/sim/app/(landing)/components/auth-modal/auth-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export function AuthModal({ children, defaultView = 'login', source }: AuthModal
202202
disabled={!!socialLoading}
203203
className={SOCIAL_BTN}
204204
>
205-
<GoogleIcon className='absolute left-4 size-[20px] shrink-0' />
205+
<GoogleIcon className='absolute left-4 size-[18px] shrink-0' />
206206
<span>
207207
{socialLoading === 'google' ? 'Connecting...' : 'Continue with Google'}
208208
</span>

0 commit comments

Comments
 (0)