From e1f1e44964cd5bb7e6c2a4e7ab9a88e23636bca7 Mon Sep 17 00:00:00 2001 From: Sargam Date: Thu, 5 Sep 2024 14:33:47 +0530 Subject: [PATCH] Update src/components/CourseCard.tsx --- src/components/CourseCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CourseCard.tsx b/src/components/CourseCard.tsx index aaec216a6..720d51056 100644 --- a/src/components/CourseCard.tsx +++ b/src/components/CourseCard.tsx @@ -14,7 +14,7 @@ export const CourseCard = ({ }) => { const router = useRouter(); const imageUrl = - course.imageUrl && course.imageUrl !== '' + course.imageUrl ? course.imageUrl : 'banner_placeholder.png'; return (