|
|
|
|
@ -52,7 +52,6 @@ export const CardFrontside = ({ |
|
|
|
|
}: Props) => { |
|
|
|
|
const { |
|
|
|
|
access, |
|
|
|
|
calc, |
|
|
|
|
date, |
|
|
|
|
formattedDate, |
|
|
|
|
hasVideo, |
|
|
|
|
@ -71,8 +70,7 @@ export const CardFrontside = ({ |
|
|
|
|
const { isScoreHidden } = useMatchSwitchesStore() |
|
|
|
|
const isInFuture = getUnixTime(date) > getUnixTime(new Date()) |
|
|
|
|
const showScore = !( |
|
|
|
|
!calc |
|
|
|
|
|| isInFuture |
|
|
|
|
isInFuture |
|
|
|
|
|| isScoreHidden |
|
|
|
|
) || (live && !isScoreHidden) |
|
|
|
|
const tournamentInFavorites = isInFavorites(ProfileTypes.TOURNAMENTS, tournament.id) |
|
|
|
|
|