권한 없을때 로그인 되게 홈으로

This commit is contained in:
yschoi
2025-07-10 21:02:23 +09:00
parent ed368160a2
commit 4294f3c878
@@ -40,8 +40,7 @@ const AuthWrapper = ({ children }: { children: React.ReactNode }) => {
} catch (refreshError) {
console.error("Token refresh failed:", refreshError);
setUserInfo(null);
//TODO 권한체크 실패시 로직 들어가야 함.
//router.push("/");
router.push("/");
}
}
})();