fix(hide score in matchpage): hide-score-without-scores-in-response

keep-around/72124ba0d56c58cd435cfbb5f08f40e3316b102d
Andrei Dekterev 4 years ago
parent baa76d64ae
commit 72124ba0d5
  1. 2
      src/features/MatchPage/components/MatchProfileCard/index.tsx

@ -54,7 +54,7 @@ export const MatchProfileCard = ({ profile }: Props) => {
<ScoreWrapper>
<Score>
{
isScoreHidden
isScoreHidden || !team1.score || !team2.score
? '-'
: `${team1.score} - ${team2.score}`
}

Loading…
Cancel
Save