Fix bracket tab link

This commit is contained in:
Kalle (Sendou) 2021-12-23 18:00:09 +02:00
parent 7914377309
commit 3344104dc8

View File

@ -64,8 +64,7 @@ export default function TournamentPage() {
const tournamentIsOver = false;
if (tournamentHasStarted(data.brackets)) {
// TODO: link broken
result.push({ code: "bracket", text: "Bracket" });
result.push({ code: `bracket/${data.brackets[0].id}`, text: "Bracket" });
if (!tournamentIsOver) {
result.push({ code: "streams", text: "Streams (4)" });
}