diff --git a/src/Components/Login/Login.css b/src/Components/Login/Login.css index 958420f..7e375a9 100644 --- a/src/Components/Login/Login.css +++ b/src/Components/Login/Login.css @@ -103,4 +103,9 @@ p a:hover { .eye:hover { color: #007efc; cursor: pointer; -} \ No newline at end of file +} +.google-login-wrapper { + width: 100%; + display: flex; + justify-content: center; +} diff --git a/src/Components/Login/Login.jsx b/src/Components/Login/Login.jsx index d0f0bd9..919026c 100644 --- a/src/Components/Login/Login.jsx +++ b/src/Components/Login/Login.jsx @@ -67,6 +67,7 @@ const Login = ({ isDarkMode }) => {

Login

+ { {warnings.email &&

{warnings.email}

}
+ {

Already have an account? Login

- { - const credentialDecoded = jwtDecode(credentialResponse.credential); - console.log(credentialDecoded); - }} - onError={() => { - console.log("Sign-Up Failed"); - }} - /> +
+ { + const credentialDecoded = jwtDecode(credentialResponse.credential); + console.log(credentialDecoded); + }} + onError={() => { + console.log("Sign-Up Failed!"); + }} + /> +
+ +
);