From 1b9f0f8251c1fa4f5bb3404f773001129a3b0eda Mon Sep 17 00:00:00 2001 From: Farber Denis <42491613+Bombamuerta@users.noreply.github.com> Date: Wed, 24 Nov 2021 11:17:40 +0300 Subject: [PATCH] fix(#ott1977): macthcard - removed date block when live is on (#572) Co-authored-by: Farber Denis --- .../MatchCard/CardFrontside/index.tsx | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/features/MatchCard/CardFrontside/index.tsx b/src/features/MatchCard/CardFrontside/index.tsx index 3da95a48..9754f413 100644 --- a/src/features/MatchCard/CardFrontside/index.tsx +++ b/src/features/MatchCard/CardFrontside/index.tsx @@ -118,18 +118,20 @@ export const CardFrontside = ({ )} {access === MatchAccess.CanBuyMatch && } - - {isHomePage ? null : formattedDate} - - {(isInFuture && (!hasVideo || !storage)) - ? - : null} - - {live && ( - - - - )} + {live + ? ( + + + + ) + : ( + + {isHomePage ? null : formattedDate} + {(isInFuture && (!hasVideo || !storage)) + ? + : null} + + )}