Remove unnecessary infos

This commit is contained in:
Kalle
2022-03-28 00:36:54 +03:00
parent 4c6f7ce572
commit 57960a05b2

View File

@@ -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 <b>{friendCodeToAdd}</b>
</>,
<>
Pass <b>{roomPass}</b> ({weHost ? "We" : "They"} host)
</>,
<>
<b>{currentMatch.score?.join("-")}</b> (Best of{" "}
{currentRound.stages.length})