Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
fixed erros
Browse files Browse the repository at this point in the history
  • Loading branch information
Manas2403 committed May 24, 2023
1 parent 8d61fd9 commit 95637e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/signin/oauth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function OAuth() {
const response = await post('/auth/google', {
token: code,
});

console.log(response.data.data);
if (response.status === 201 || response.status === 200) {
setIsLoggedIn(true);
setUser(response.data.data);
Expand Down

1 comment on commit 95637e7

@vercel
Copy link

@vercel vercel bot commented on 95637e7 May 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.