Skip to content

Commit

Permalink
Fix for scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
irdkwmnsb committed Apr 16, 2024
1 parent 6b3f19d commit a0e2544
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const ContestantInfo = ({ teamId, roundBR= true, className = null }) => {
const contestInfo = useAppSelector((state) => state.contestInfo.info);
const scoreboardData = useAppSelector((state) => state.scoreboard[SCOREBOARD_TYPES.normal].ids[teamId]);
const awards = useAppSelector((state) => state.scoreboard[SCOREBOARD_TYPES.normal].idAwards[teamId]);
const medal = awards.find((award) => award.type == Award.Type.medal) as Award.medal;
const medal = awards?.find((award) => award.type == Award.Type.medal) as Award.medal;
const teamData = useAppSelector((state) => state.contestInfo.info?.teamsId[teamId]);
const formatPenalty = useFormatPenalty();
return <ContestantInfoWrap round={roundBR} className={className}>
Expand Down

0 comments on commit a0e2544

Please sign in to comment.