gpt-engineer-app[bot] 2 месяцев назад
Родитель
Сommit
c37e1ae9d6
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/components/ArticleModal.tsx

+ 2 - 2
src/components/ArticleModal.tsx

@@ -88,8 +88,8 @@ const ArticleModal = ({ isOpen, onClose, article }: ArticleModalProps) => {
             </div>
           )}
 
-          {/* Article Image */}
-          {article.imageUrl && !isYouTubeVideo && (
+          {/* Article Image - Only for non-YouTube articles */}
+          {article.imageUrl && article.category !== 'youtube' && (
             <div className="w-full">
               <img 
                 src={article.imageUrl}