From 7d4c4a73f4aa54215b735c5ce70c8f13ea784377 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Tue, 29 Mar 2022 18:30:16 +0300 Subject: [PATCH] Tournament nav tweaks --- app/components/tournament/InfoBanner.tsx | 2 +- app/routes/to/$organization.$tournament.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/components/tournament/InfoBanner.tsx b/app/components/tournament/InfoBanner.tsx index feef5b9e0..dedaf7f8e 100644 --- a/app/components/tournament/InfoBanner.tsx +++ b/app/components/tournament/InfoBanner.tsx @@ -126,7 +126,7 @@ function InfoBannerActionButton() { className="info-banner__action-button" prefetch="intent" > - Manage team + Add players ); } diff --git a/app/routes/to/$organization.$tournament.tsx b/app/routes/to/$organization.$tournament.tsx index f22c20c39..addb817bd 100644 --- a/app/routes/to/$organization.$tournament.tsx +++ b/app/routes/to/$organization.$tournament.tsx @@ -100,7 +100,10 @@ export default function TournamentPage() { if (tournamentHasStarted(data.brackets)) { result.push({ code: `bracket/${data.brackets[0].id}`, text: "Bracket" }); - if (!tournamentIsOver) { + + // TODO: add streams page + // eslint-disable-next-line no-constant-condition + if (!tournamentIsOver && false) { result.push({ code: "streams", text: "Streams (4)" }); } }