diff --git a/src/features/MatchPopup/components/FinishedPlaylistPage/index.tsx b/src/features/MatchPopup/components/FinishedPlaylistPage/index.tsx index 295e7e98..c41f685e 100644 --- a/src/features/MatchPopup/components/FinishedPlaylistPage/index.tsx +++ b/src/features/MatchPopup/components/FinishedPlaylistPage/index.tsx @@ -2,6 +2,7 @@ import { Fragment } from 'react' import isEmpty from 'lodash/isEmpty' +import { useMatchSwitchesStore } from 'features/MatchSwitches' import { Name } from 'features/Name' import { MediaQuery } from 'features/MediaQuery' import { useMatchPopupStore } from 'features/MatchPopup' @@ -21,6 +22,8 @@ import { export const FinishedPlaylistPage = () => { const { match, matchPlaylists } = useMatchPopupStore() + const { isScoreHidden } = useMatchSwitchesStore() + if (!match) return null const { team1, team2 } = match @@ -40,7 +43,7 @@ export const FinishedPlaylistPage = () => { - {score} + {isScoreHidden ? ' - ' : score}