Skip to content

Commit

Permalink
fix: 모집 기간 아닐 때 alert 문구 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minkyu97 committed Aug 9, 2024
1 parent 2244112 commit 4db02f5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pages/SolveV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ export default function Solve() {
: [],
});
res
.catch((e) => {
alert("제출 중 오류가 발생했습니다.");
})
.then(() => getProblemSubmissionV2(problemNumber))
.then(async (res) => {
for await (const { data, type } of res) {
Expand Down Expand Up @@ -110,7 +107,7 @@ export default function Solve() {
})
.catch((e) => {
console.error(e);
alert("모집이 마감되었습니다.");
alert("모집이 기간이 아닙니다.");
});
setIsSubmitting(false);
};
Expand Down

0 comments on commit 4db02f5

Please sign in to comment.