Skip to content

Commit

Permalink
Merge pull request #58 from Mayotopia04/Mayotopia04-patch-2
Browse files Browse the repository at this point in the history
Update LoginForm.js
  • Loading branch information
Mayotopia04 authored Jul 16, 2024
2 parents a05ffcd + 4942c5e commit 7f49776
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/LoginForm/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const LoginForm = () => {

const handleSuccess = (response) => {
console.log('Login Success:', response);
dispatch(handleGoogleLogin({ googleAccessToken: response.credential })).then(a => setErrorMessage(a?.payload));
};

const handleFailure = (error) => {
Expand Down

0 comments on commit 7f49776

Please sign in to comment.