Skip to content

Commit

Permalink
fix: redirect after oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
seelengxd committed Sep 20, 2024
1 parent fe808e2 commit 0f9c684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/app/auth/google/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default function GoogleOAuth() {
}
await authGoogleAuthGoogleGet({ query: { code } });
setIsLoading(false);
router.push("/");
})();
}
}, [code, router]);
Expand Down

0 comments on commit 0f9c684

Please sign in to comment.