Skip to content

Commit d7e6652

Browse files
committed
fix: add alert for authentication error in AuthErrorFallback component
1 parent 38182d6 commit d7e6652

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • apps/ticket/src/shared/components/AuthErrorFallback

apps/ticket/src/shared/components/AuthErrorFallback/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ export const AuthErrorFallback = () => {
2323
window.location.reload();
2424
} else {
2525
// 재발급 실패 → 로그인
26+
alert("인증 시간이 만료되었습니다. 다시 로그인해주세요.");
2627
window.location.href = "/login";
2728
}
2829
} catch (error) {
2930
console.error("토큰 재발급 실패:", error);
30-
alert("인증 오류가 발생했습니다. 다시 로그인해주세요.");
31+
alert("인증 시간이 만료되었습니다. 다시 로그인해주세요.");
3132
window.location.href = "/login";
3233
}
3334
};

0 commit comments

Comments
 (0)