Skip to content

Commit

Permalink
Merge pull request #56 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 bcb300e + f1c03e0 commit ba0c144
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/LoginForm/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ const LoginForm = () => {
onError: (error) => console.error('Login Failed:', error),
});

const handleSuccess = (response) => {
console.log('Login Success:', response);
};

const handleFailure = (error) => {
console.error('Login Failed:', error);
};

return (
<>
<Formik
Expand Down

0 comments on commit ba0c144

Please sign in to comment.