diff --git a/app/features/tournament/actions/to.$id.admin.server.ts b/app/features/tournament/actions/to.$id.admin.server.ts index 1aaf81f889..abbcd1c384 100644 --- a/app/features/tournament/actions/to.$id.admin.server.ts +++ b/app/features/tournament/actions/to.$id.admin.server.ts @@ -160,7 +160,8 @@ export const action: ActionFunction = async ({ request, params }) => { const team = tournament.teamById(data.teamId); validate(team, "Invalid team id"); validate( - team.checkIns.length === 0 || team.members.length > 4, + team.checkIns.length === 0 || + team.members.length > tournament.minMembersPerTeam, "Can't remove last member from checked in team", ); validate(