Skip to content

Commit 045e72c

Browse files
committed
refactor: createAndUpdateContestをupdateContestに修正
1 parent 4affdbc commit 045e72c

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)