diff options
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/app/.server/api/schema.d.ts | 4 | ||||
| -rw-r--r-- | frontend/app/components/GolfWatchApp.client.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/frontend/app/.server/api/schema.d.ts b/frontend/app/.server/api/schema.d.ts index 157a96f..5b37081 100644 --- a/frontend/app/.server/api/schema.d.ts +++ b/frontend/app/.server/api/schema.d.ts @@ -113,9 +113,9 @@ export interface components { started_at?: number; problem: components["schemas"]["Problem"]; players: components["schemas"]["User"][]; - verification_steps: components["schemas"]["VerificationStep"][]; + exec_steps: components["schemas"]["ExecStep"][]; }; - VerificationStep: { + ExecStep: { /** @example 1 */ testcase_id: number | null; /** @example Test case 1 */ diff --git a/frontend/app/components/GolfWatchApp.client.tsx b/frontend/app/components/GolfWatchApp.client.tsx index 7041572..481b997 100644 --- a/frontend/app/components/GolfWatchApp.client.tsx +++ b/frontend/app/components/GolfWatchApp.client.tsx @@ -127,7 +127,7 @@ export default function GolfWatchApp({ ...prev, submitResult: { status: "running", - execResults: game.verification_steps.map((r) => ({ + execResults: game.exec_steps.map((r) => ({ testcase_id: r.testcase_id, status: "running", label: r.label, @@ -217,7 +217,7 @@ export default function GolfWatchApp({ } } }, [ - game.verification_steps, + game.exec_steps, game.started_at, lastJsonMessage, readyState, |
