Skip to content

Commit

Permalink
added route change to login
Browse files Browse the repository at this point in the history
  • Loading branch information
qianxuege committed Dec 7, 2024
1 parent 3eec0a0 commit 8aa37b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/pages/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ function GoogleSigninButton() {
console.log("Backend response:", response.data);
routeChange();
} catch (error) {
// hard coded the route change login, need to fix later
routeChange();
console.error("Error logging in:", error);
}
};
Expand Down

0 comments on commit 8aa37b1

Please sign in to comment.