Skip to content

Commit

Permalink
1113 Added border to button in login page (#1142)
Browse files Browse the repository at this point in the history
Removed unused variable, which causes warning
  • Loading branch information
AnzheloD authored and dimitur2204 committed Nov 21, 2022
1 parent d3cab28 commit 867233b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/auth/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ export default function LoginForm({ initialValues = defaults }: LoginFormProps)
setLoading(false)
}
}
const onGoogleLogin = () => {
const resp = signIn('google')
}
const onGoogleLogin = () => signIn('google')

return (
<GenericForm
onSubmit={onSubmit}
Expand All @@ -88,7 +87,7 @@ export default function LoginForm({ initialValues = defaults }: LoginFormProps)
<SubmitButton fullWidth label="auth:cta.login" loading={loading} />
</Grid>
<Grid item xs={12}>
<Button fullWidth onClick={onGoogleLogin}>
<Button variant="outlined" fullWidth onClick={onGoogleLogin}>
<Google /> {t('nav.login-with')} Google
</Button>
</Grid>
Expand Down

0 comments on commit 867233b

Please sign in to comment.