Skip to content

Commit

Permalink
add dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonchao committed Mar 19, 2024
1 parent 73d30dd commit 2b588ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/auth/Oauth2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Oauth2() {
router.push("/login-failed");
console.error("Login process error", error);
});
}, []);
}, [router]);

if (loading)
return (
Expand Down

0 comments on commit 2b588ce

Please sign in to comment.