summaryrefslogtreecommitdiff
path: root/src/containers/auth
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-05-11 14:41:44 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-05-11 14:41:44 +0200
commite94daacc1d9fb3870a74256de3b94be0dbaf05a1 (patch)
tree75115cd3561c90ecd330c54dc0ba4d16bd13ba5e /src/containers/auth
parent3d817d26461cd2f7904e55e46d66bb0b032420a8 (diff)
Upgrade and fix regressions
Diffstat (limited to 'src/containers/auth')
-rw-r--r--src/containers/auth/Login.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/containers/auth/Login.js b/src/containers/auth/Login.js
index 28e95963..4afb393c 100644
--- a/src/containers/auth/Login.js
+++ b/src/containers/auth/Login.js
@@ -31,11 +31,12 @@ class LoginContainer extends React.Component {
clientId={process.env.REACT_APP_OAUTH_CLIENT_ID}
onSuccess={this.onAuthResponse.bind(this)}
onFailure={this.onAuthResponse.bind(this)}
- className="login btn btn-primary"
+ render={renderProps => (
+ <span onClick={renderProps.onClick} className="login btn btn-primary">
+ <span className="fa fa-google" /> Login with Google
+ </span>
+ )}
>
- <span>
- <span className="fa fa-google" /> Login with Google
- </span>
</GoogleLogin>
);
}