fix: prevent image rendering error in ThumbnailImage
This commit is contained in:
parent
bd4a921cdc
commit
e25451aa2b
|
|
@ -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 ? (
|
||||
<SquareImage image={image} blurhash={blurhash} onError={handleImageError} />
|
||||
) : (
|
||||
|
|
|
|||
Loading…
Reference in New Issue