diff --git a/app/components/tournament/DuringMatchActionsRosters.tsx b/app/components/tournament/DuringMatchActionsRosters.tsx index 2e36e6561..d4b21c311 100644 --- a/app/components/tournament/DuringMatchActionsRosters.tsx +++ b/app/components/tournament/DuringMatchActionsRosters.tsx @@ -46,6 +46,9 @@ export function DuringMatchActionsRosters({ setCheckedPlayers((players) => { const newPlayers = clone(players); diff --git a/app/components/tournament/TeamRosterCheckboxes.tsx b/app/components/tournament/TeamRosterCheckboxes.tsx index 7ff982b2d..6ffcb93e0 100644 --- a/app/components/tournament/TeamRosterCheckboxes.tsx +++ b/app/components/tournament/TeamRosterCheckboxes.tsx @@ -1,3 +1,4 @@ +import clsx from "clsx"; import { TOURNAMENT_TEAM_ROSTER_MIN_SIZE } from "~/constants"; import type { FindTournamentByNameForUrlI } from "~/services/tournament"; import { Unpacked } from "~/utils"; @@ -7,19 +8,25 @@ export function TeamRosterCheckboxes({ team, checkedPlayers, handlePlayerClick, + disabled, }: { team: Unpacked; checkedPlayers: string[]; handlePlayerClick: (playerId: string) => void; + disabled: boolean; }) { return (
{team.members.map(({ member }) => (