Skip to content

Commit

Permalink
fix: retry x로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokkkkkk committed Jul 18, 2024
1 parent d57b95c commit 533cc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/OauthCallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const OauthCallback = () => {
]);

useEffect(() => {
if (retry > 2) navigate("/login", { replace: true });
if (retry > 0) navigate("/login", { replace: true });
fetchTokens();
}, [fetchTokens, retry, navigate]);

Expand Down

0 comments on commit 533cc33

Please sign in to comment.