diff --git a/src/client/src/TournamentOverview.js b/src/client/src/TournamentOverview.js
index c17a7d0..186dce1 100644
--- a/src/client/src/TournamentOverview.js
+++ b/src/client/src/TournamentOverview.js
@@ -8,62 +8,40 @@ import "./components/tournamentBracket.css";
import EmojiEventsIcon from '@mui/icons-material/EmojiEvents';
import DoDisturbIcon from '@mui/icons-material/DoDisturb';
-function MatchPair(props) {
- let team1 = ;
- let team2 = ;
-
- return (
- <>
-
-
- {matches.map(tier => {
- let tierNum = tier[0].tier;
- return
- })}
-
- :
- );
-}
-
-function showError(error) {
- alert("Something went wrong. \n" + error);
- console.error(error);
+ (matches && teams) ?
+ //
+
+ {matches.map(tier => {
+ let tierNum = tier[0].tier;
+ return
+ })}
+
+ :
+);
}
export default function TournamentOverview(props) {
diff --git a/src/client/src/components/tournamentBracket.css b/src/client/src/components/tournamentBracket.css
index f6ef4a0..30a9c4e 100644
--- a/src/client/src/components/tournamentBracket.css
+++ b/src/client/src/components/tournamentBracket.css
@@ -35,10 +35,16 @@
li.game{
padding-left:20px;
}
+ li.game > span{
+ visibility: hidden;
+ }
li.game.winner{
font-weight:bold;
}
+ li.game.winner > span{
+ visibility: visible;
+ }
li.game span{
float:right;
margin-right:5px;