From 44611678e09392fb7b6c6a14148c006880e39f8e Mon Sep 17 00:00:00 2001 From: annarhughes Date: Tue, 19 Nov 2024 18:46:39 +0000 Subject: [PATCH] fix broken CourseCard --- components/cards/CourseCard.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/cards/CourseCard.tsx b/components/cards/CourseCard.tsx index 9f865faa..46d47296 100644 --- a/components/cards/CourseCard.tsx +++ b/components/cards/CourseCard.tsx @@ -17,7 +17,6 @@ import { useRouter } from 'next/router'; import { useState } from 'react'; import { PROGRESS_STATUS } from '../../constants/enums'; import { iconTextRowStyle, rowStyle } from '../../styles/common'; -import { formatDateToString } from '../../utils/dateTime'; import Link from '../common/Link'; import ProgressStatus from '../common/ProgressStatus'; @@ -139,7 +138,7 @@ const CourseCard = (props: CourseCardProps) => { )} - {courseComingSoon && !courseLiveSoon && ( + {courseComingSoon && ( {t('comingSoon')}