feat(catalog post): add loading skeleton for image, "file deleted" fallback img

This commit is contained in:
Tom (plebeius.eth)
2024-05-29 11:59:06 +02:00
parent 817aae3e79
commit 2aa5dc01eb
4 changed files with 66 additions and 34 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ const PopularThreadCard = ({ post, boardTitle, boardShortAddress }: PopularThrea
<div className={styles.title}>{boardTitle || boardShortAddress}</div>
<div className={styles.mediaContainer}>
<Link to={`/p/${subplebbitAddress}/c/${cid}`}>
<CatalogPostMedia commentMediaInfo={commentMediaInfo} />
<CatalogPostMedia commentMediaInfo={commentMediaInfo} isOutOfFeed={true} />
</Link>
</div>
<div className={styles.threadContent}>