Skip to content

Commit

Permalink
Fix updating seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
Sendouc committed Dec 22, 2024
1 parent 0bcc1ef commit 62fafdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/features/tournament/routes/to.$id.seeds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ function SeedAlert({ teamOrder }: { teamOrder: number[] }) {
<fetcher.Form method="post" className="tournament__seeds__form">
<input type="hidden" name="tournamentId" value={tournament.ctx.id} />
<input type="hidden" name="seeds" value={JSON.stringify(teamOrder)} />
<input type="hidden" name="_action" value="UPDATE_SEEDS" />
<Alert
variation={
teamOrderChanged ? "WARNING" : showSuccess ? "SUCCESS" : "INFO"
Expand Down

0 comments on commit 62fafdd

Please sign in to comment.