feat: update MatchEditor to use tournament-specific scoring rules

This commit is contained in:
2026-03-30 22:58:17 -07:00
parent ab41ede160
commit 9c8f1bc57d
2 changed files with 54 additions and 5 deletions
@@ -78,7 +78,13 @@ export default async function TournamentResultsPage({ params }: PageProps) {
{/* Match Editor */}
<div className="bg-white shadow rounded-lg p-6">
<MatchEditor tournamentId={tournamentId} players={players} matches={matches} />
<MatchEditor
tournamentId={tournamentId}
players={players}
matches={matches}
targetScore={tournament.targetScore}
allowTies={tournament.allowTies}
/>
</div>
{/* Existing Matches */}