diff --git a/app/components/tournament/DuringMatchActions.tsx b/app/components/tournament/DuringMatchActions.tsx index a00f53fa0..a26b93414 100644 --- a/app/components/tournament/DuringMatchActions.tsx +++ b/app/components/tournament/DuringMatchActions.tsx @@ -1,4 +1,4 @@ -import { useMatches } from "remix"; +import { Form, useMatches } from "remix"; import invariant from "tiny-invariant"; import { modesShortToLong } from "~/constants"; import { resolveHostInfo } from "~/core/tournament/utils"; @@ -7,6 +7,7 @@ import type { FindTournamentByNameForUrlI, } from "~/services/tournament"; import { modeToImageUrl, Unpacked } from "~/utils"; +import { SubmitButton } from "../SubmitButton"; import { ActionSectionWrapper } from "./ActionSectionWrapper"; import { DuringMatchActionsRosters } from "./DuringMatchActionsRosters"; @@ -70,37 +71,28 @@ export function DuringMatchActions({

Stage {currentPosition}

+ {currentPosition > 1 && ( +
+ + + +
+ + Undo last score + +
+
+ )}
{roundInfos.map((info) => (
{info}
))}
- {/* -
-
- - - -
- {roundInfo.map(([title, value]) => ( - - -
- {value} -
-
- ))} -
-
-
-
*/}