From ac5da60a9577a50f959536829ab12ace7990a6d3 Mon Sep 17 00:00:00 2001 From: C0dewithLokesh Date: Tue, 20 Aug 2024 17:46:38 +0530 Subject: [PATCH] fix content duration position --- src/components/ContentCard.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/ContentCard.tsx b/src/components/ContentCard.tsx index 58d29c2ea..1f1adeee1 100644 --- a/src/components/ContentCard.tsx +++ b/src/components/ContentCard.tsx @@ -40,11 +40,6 @@ export const ContentCard = ({ )} - {type === 'video' && ( -
- {contentDuration && formatTime(contentDuration)} -
- )} {type !== 'video' && (
+
+ {contentDuration && formatTime(contentDuration)} +
)}