From 89938533fef8fb1b7be9896bac20f48b50b371fb Mon Sep 17 00:00:00 2001 From: Pete Stenger Date: Sun, 22 Sep 2024 13:33:50 -0500 Subject: [PATCH] fix signage --- src/components/Scoreboard/index.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/Scoreboard/index.tsx b/src/components/Scoreboard/index.tsx index 2e0fd9e..89b1cb7 100644 --- a/src/components/Scoreboard/index.tsx +++ b/src/components/Scoreboard/index.tsx @@ -37,8 +37,8 @@ export function ScoreboardTable(props: ScoreboardTableProps) { {idx + 1} - - + + {user.name} @@ -117,12 +117,11 @@ export default function Scoreboard(props: ScoreboardProps) { const data_full = await response_full.json() // console.log(endpoint_scoreboard) const data = data_full.data; - console.log(data.data); // const data = test_scoreboard; const beginner = data.filter((t : any) => t.bracket_name === "Beginner"); const advanced = data.filter((t : any) => t.bracket_name !== "Beginner"); - setMatchedScoreboard(beginner as CTFdScoreboardUserTeam[]); - setUnmatchedScoreboard(advanced as CTFdScoreboardUserTeam[]); + setMatchedScoreboard(advanced as CTFdScoreboardUserTeam[]); + setUnmatchedScoreboard(beginner as CTFdScoreboardUserTeam[]); } fetchScoreboard(); setInterval(fetchScoreboard, 1000 * 10);