From 48075d4c1f8457a67574d327e4303d6a4ac6ccaa Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 2 May 2023 15:43:00 +0200 Subject: [PATCH] fix thumbnailUrl values in catalog --- src/components/views/Catalog.jsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/views/Catalog.jsx b/src/components/views/Catalog.jsx index a29fa415..8251eb90 100644 --- a/src/components/views/Catalog.jsx +++ b/src/components/views/Catalog.jsx @@ -417,15 +417,18 @@ const Catalog = () => { {commentMediaInfo?.url ? ( {commentMediaInfo?.type === "webpage" ? ( - thread { e.target.src = fallbackImgUrl - e.target.onerror = null;}} /> + e.target.onerror = null; + }} /> + ) : null ) : null} {commentMediaInfo?.type === "image" ? ( - thread { e.target.src = fallbackImgUrl e.target.onerror = null;}} />