Commit d6e08307 authored by Shaphen Pangburn's avatar Shaphen Pangburn

[AFP-48 Shaphen Pangburn]: Add spacing for google login button

parent 66d6ab94
import React, { Component } from 'react'
import { GoogleLogin, GoogleLogout } from 'react-google-login';
import '../../resources/stylesheets/session.css'
const clientId = `${process.env.REACT_APP_GOOGLE_CLIENT_ID}.apps.googleusercontent.com`;
......@@ -16,10 +17,6 @@ export default class Session extends Component {
this.logOutSuccess = this.logOutSuccess.bind(this)
}
// componentDidMount(){
// this.props.logOut()
// }
loginSuccess = (response) => {
const {accessToken, tokenId, googleId: userId, profileObj} = response
const {email, familyName: lastName, givenName: firstName} = profileObj
......@@ -39,7 +36,7 @@ export default class Session extends Component {
render() {
return (
<div>
<div className="google-login-button">
{!this.state.logIn ?
<GoogleLogin
clientId={clientId}
......
.google-login-button {
margin-right: 20px;
}
.google-login-button button {
border-radius: 25px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment