fix(#ott1977): macthcard - removed date block when live is on (#572)

Co-authored-by: Farber Denis <denis.farber@instatsport.com>
keep-around/100b3f5493bc24e9889c376dcfc797564582c41c
Farber Denis 4 years ago committed by GitHub
parent e1cf50429f
commit 1b9f0f8251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      src/features/MatchCard/CardFrontside/index.tsx

@ -118,17 +118,19 @@ export const CardFrontside = ({
)}
{access === MatchAccess.CanBuyMatch && <BuyMatchBadge />}
<MatchTimeInfo>
{live
? (
<LiveSign>
<T9n t='live' />
</LiveSign>
)
: (
<MatchDate isHomePage={isHomePage}>
{isHomePage ? null : formattedDate}
{(isInFuture && (!hasVideo || !storage))
? <Time>{time}</Time>
: null}
</MatchDate>
{live && (
<LiveSign>
<T9n t='live' />
</LiveSign>
)}
</MatchTimeInfo>
</PreviewWrapper>

Loading…
Cancel
Save