feat: show used connected
This commit is contained in:
		| @@ -11,17 +11,17 @@ export default function LoginPage() { | ||||
|     return ( | ||||
|         <Box display="flex" flexDirection="column" alignItems="center" mt={10}> | ||||
|             <Typography variant="h4" gutterBottom> | ||||
|                 Iniciar sesión | ||||
|                 Sign in with Google | ||||
|             </Typography> | ||||
|  | ||||
|             <GoogleLogin | ||||
|                 onSuccess={(credentialResponse) => { | ||||
|                     const user = jwt_decode(credentialResponse.credential); | ||||
|                     const user = jwtDecode(credentialResponse.credential); | ||||
|                     login(user); | ||||
|                     navigate('/'); | ||||
|                 }} | ||||
|                 onError={() => { | ||||
|                     console.log('Error al iniciar sesión'); | ||||
|                     console.log('Error signing in'); | ||||
|                 }} | ||||
|             /> | ||||
|         </Box> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rodolfo Ruiz
					Rodolfo Ruiz