Skip to content

Commit db320c7

Browse files
authored
Merge pull request #1078 from atsuya02/ContestUpdatePage
createAndUpdateContestをupdateContestに修正
2 parents 4affdbc + 045e72c commit db320c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atcoder-problems-frontend/src/pages/Internal/VirtualContest/ContestUpdatePage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface Props {
2626
contestId: string;
2727
}
2828

29-
const createAndUpdateContest = async (
29+
const updateContest = async (
3030
request: Request,
3131
problems: VirtualContestItem[]
3232
) => {
@@ -91,7 +91,7 @@ export const ContestUpdatePage = (props: Props) => {
9191
publicState,
9292
penaltySecond,
9393
}) => {
94-
const status = await createAndUpdateContest(
94+
const status = await updateContest(
9595
{
9696
id: contestId,
9797
title,

0 commit comments

Comments
 (0)