From 57960a05b28e86ee1e692bf26dfb9e266e88ec23 Mon Sep 17 00:00:00 2001
From: Kalle <38327916+Sendouc@users.noreply.github.com>
Date: Mon, 28 Mar 2022 00:36:54 +0300
Subject: [PATCH] Remove unnecessary infos
---
app/components/tournament/DuringMatchActions.tsx | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/app/components/tournament/DuringMatchActions.tsx b/app/components/tournament/DuringMatchActions.tsx
index 673154103..a5a2058ab 100644
--- a/app/components/tournament/DuringMatchActions.tsx
+++ b/app/components/tournament/DuringMatchActions.tsx
@@ -28,13 +28,6 @@ export function DuringMatchActions({
);
invariant(opponentTeam, "opponentTeam is undefined");
- // TODO:
- const { weHost, friendCodeToAdd, roomPass } = {
- weHost: true,
- friendCodeToAdd: "1234-1234-1234",
- roomPass: "1324",
- };
-
const currentPosition =
currentMatch.score?.reduce((acc, cur) => acc + cur, 1) ?? 1;
const currentStage = currentRound.stages.find(
@@ -44,12 +37,6 @@ export function DuringMatchActions({
const { stage } = currentStage;
const roundInfos = [
- <>
- Add {friendCodeToAdd}
- >,
- <>
- Pass {roomPass} ({weHost ? "We" : "They"} host)
- >,
<>
{currentMatch.score?.join("-")} (Best of{" "}
{currentRound.stages.length})