{!isDetail && }
e.stopPropagation()}>
{post.author.avatarUrl ? (

) : (
post.author.displayName?.charAt(0).toUpperCase() || post.author.handle.charAt(0).toUpperCase()
)}
e.stopPropagation()}>
{post.author.displayName || post.author.handle}
@{post.author.handle} · {formatTime(post.createdAt)}
{post.replyTo && (
Replied to e.stopPropagation()}>@{post.replyTo.author.handle}
)}
{renderContent(post.content)}
{post.media && post.media.length > 0 && (
{post.media.map((item) => (
))}
)}
{post.linkPreviewUrl && (
)}
{post.linkPreviewUrl && !post.linkPreviewUrl.match(/(youtube\.com|youtu\.be|vimeo\.com)/) && (
e.stopPropagation()}
>
{post.linkPreviewImage && (
)}
{post.linkPreviewTitle}
{post.linkPreviewDescription && (
{post.linkPreviewDescription}
)}
{new URL(post.linkPreviewUrl.startsWith('http') ? post.linkPreviewUrl : `https://${post.linkPreviewUrl}`).hostname}
)}
{currentUser?.id === post.author.id && (
)}
);
}