Skip to content

Commit

Permalink
Fix: isAuth 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
hhbb0081 committed Nov 26, 2023
1 parent ba79030 commit b1da08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hoc/auth.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function Auth(SpecificComponent, option) {
// console.log(tokenInfo);
console.log(window.localStorage.getItem("isAuthenticated"));
console.log(cookies?.accessToken);
const isAuth = window.localStorage.getItem("isAuthenticated");
// const isAuth = window.localStorage.getItem("isAuthenticated");
if (userInfo === "404" && location.pathname !== "/") {
navigate("/");
} else {
Expand Down

0 comments on commit b1da08b

Please sign in to comment.