diff --git a/src/frontend/overlay/src/components/molecules/info/ContestantInfo.tsx b/src/frontend/overlay/src/components/molecules/info/ContestantInfo.tsx index 28c3edd48..69d62785a 100644 --- a/src/frontend/overlay/src/components/molecules/info/ContestantInfo.tsx +++ b/src/frontend/overlay/src/components/molecules/info/ContestantInfo.tsx @@ -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