diff --git a/src/views/home/popular-threads-box/popular-threads-box.tsx b/src/views/home/popular-threads-box/popular-threads-box.tsx index 6e6a58ae..f06e73de 100644 --- a/src/views/home/popular-threads-box/popular-threads-box.tsx +++ b/src/views/home/popular-threads-box/popular-threads-box.tsx @@ -18,9 +18,11 @@ interface PopularThreadProps { } const PopularThreadCard = ({ post, boardTitle, boardShortAddress }: PopularThreadProps) => { - const { cid, content, subplebbitAddress, title } = post || {}; + const { cid, subplebbitAddress, title } = post || {}; const commentMediaInfo = getCommentMediaInfo(post); + let content = post?.content?.replace(/\n\n/g, '\n'); + return (
{boardTitle || boardShortAddress}