Skip to content

Commit

Permalink
[C] Troubleshooting console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mason committed Feb 27, 2024
1 parent f410a5e commit 9079c4c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hooks/useAuthentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,15 @@ export default function useAuthentication(data) {
push(ssoModalUrl, undefined, {
shallow: true,
});
// eslint-disable-next-line no-console
console.log("onSuccess", response, "onSuccess");
authenticateWithGoogle({ idToken: response.tokenId });
},
onFailure: (error) => console.error(error),
onFailure: (error) => {
// eslint-disable-next-line no-console
console.log("onFailure", error, "onFailure");
console.error(error);
},
});

useEffect(() => {
Expand Down

0 comments on commit 9079c4c

Please sign in to comment.