diff --git a/src/client/src/TournamentOverview.js b/src/client/src/TournamentOverview.js
index 3a342ef..c17a7d0 100644
--- a/src/client/src/TournamentOverview.js
+++ b/src/client/src/TournamentOverview.js
@@ -9,15 +9,15 @@ import EmojiEventsIcon from '@mui/icons-material/EmojiEvents';
import DoDisturbIcon from '@mui/icons-material/DoDisturb';
function MatchPair(props) {
- let match1 = ;
- let match2 = ;
+ let team1 = ;
+ let team2 = ;
return (
<>
-
{match1}
+ Test 1
- {match2}
-
+ Test 2
+
>
)
}
@@ -26,17 +26,17 @@ function TournamentTier(props) {
// One round/tier of the tournament, as used by BracketViewer
let roundTypes = ["finals", "semifinals", "quarterfinals", "eighthfinals", "sixteenthfinals", "thirtysecondfinals"];
- if (props.tier === 0) {
- // The final, just a single match without the bracket lines
- return (
-
- );
- } else {
+ // if (props.tier === 0) {
+ // // The final, just a single match without the bracket lines
+ // return (
+ //
+ // );
+ // } else {
// The rest of the rounds/tiers, divide into pairs of two matches
- let matchPairCount = props.matches.length / 2;
+ let matchPairCount = props.matches.length;
let matchPairs = [];
for (let i = 0; i < matchPairCount; i++) {
matchPairs.push();
@@ -44,11 +44,11 @@ function TournamentTier(props) {
return (
);
- }
+ // }
}
function Match(props) {
@@ -93,12 +93,12 @@ function Match(props) {
{team1Name}
-
+
{/* Team 2 (Winner-status?) (Team name) */}
{team2Name}
-
+
>
);
}
diff --git a/src/client/src/components/tournamentBracket.css b/src/client/src/components/tournamentBracket.css
index e80d83b..f6ef4a0 100644
--- a/src/client/src/components/tournamentBracket.css
+++ b/src/client/src/components/tournamentBracket.css
@@ -4,6 +4,7 @@
.bracket{
display:flex;
flex-direction:row;
+ justify-content: center;
}
.round{
display:flex;