We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 148370e + 42af227 commit 6425556Copy full SHA for 6425556
1 file changed
src/app/verify/letter/page.tsx
@@ -92,9 +92,8 @@ const VerifyLetter = () => {
92
//해당 사용자가 열람 가능한 편지가 아님
93
console.error("검증 실패:", error);
94
router.push(`/error/letter`);
95
- } else if (error.status === 400) {
96
- //편지가 존재하지 않음
97
- router.push(`/error`);
+ } else {
+ router.push("/error");
98
}
99
});
100
0 commit comments