From e25451aa2b79767fb71ccf93cb9d78de4cfd1580 Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Tue, 17 Jun 2025 22:47:44 +0800 Subject: [PATCH] fix: prevent image rendering error in ThumbnailImage --- apps/mobile/src/modules/entry-list/templates/EntryNormalItem.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/mobile/src/modules/entry-list/templates/EntryNormalItem.tsx b/apps/mobile/src/modules/entry-list/templates/EntryNormalItem.tsx index 7a0b1004d..5b3725897 100644 --- a/apps/mobile/src/modules/entry-list/templates/EntryNormalItem.tsx +++ b/apps/mobile/src/modules/entry-list/templates/EntryNormalItem.tsx @@ -236,6 +236,7 @@ const ThumbnailImage = ({ className={cn("relative ml-4 flex h-full w-24 justify-center overflow-hidden rounded-lg")} > {image && + !imageError && (isSquare ? ( ) : (