Skip to content

Commit

Permalink
chore: 에러 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
minh0518 committed May 22, 2024
1 parent 0aab843 commit a27abf9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/(afterlogin)/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ export default function Error({
// 미들웨어 기반 리다이렉션
window.location.href = fullUrl;
};
if (error.message === 'reIssue') reIssue();
reIssue();
}, [error]);

alert(error.message);

return (
<>
{error.message === 'reIssue' ? (
Expand Down

0 comments on commit a27abf9

Please sign in to comment.