Skip to content

Commit

Permalink
feat: 이벤트 마감된 이후에 선착순 퀴즈 데이터 요청할 경우 400 error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
nim-od committed Aug 19, 2024
1 parent 4fa7277 commit 5dcf11a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/user/src/components/shared/modal/fcfs/ErrorStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export default function ErrorStep({ error, resetErrorBoundary }: FallbackProps)
</Button>
</InfoStep>
);
case 400:
return (
<InfoStep>
<p className="text-heading-10 font-medium">이미 마감된 이벤트입니다.</p>
</InfoStep>
);
case 404:
return (
<InfoStep>
Expand Down

0 comments on commit 5dcf11a

Please sign in to comment.