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 (