Fixed post clicking issue

This commit is contained in:
Christopher
2026-01-22 15:05:33 -08:00
parent 7bc2b1c7e6
commit 1ed8e2c4db
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ export function PostCard({ post, onLike, onRepost, onComment, onDelete, isDetail
return (
<article className={`post ${isDetail ? 'detail' : ''}`}>
<Link href={postUrl} className="post-link-overlay" aria-label="View post" />
{!isDetail && <Link href={postUrl} className="post-link-overlay" aria-label="View post" />}
<div className="post-header">
<Link href={`/${post.author.handle}`} className="avatar-link" onClick={(e) => e.stopPropagation()}>