From 50404a18e1e4b0ccca16ffc98f2f02e58c9aec9f Mon Sep 17 00:00:00 2001 From: Brendan Schlagel Date: Thu, 4 Sep 2025 13:29:48 -0400 Subject: [PATCH] don't render author img in bsky post embed if no avatar --- components/Blocks/BlueskyPostBlock/index.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/components/Blocks/BlueskyPostBlock/index.tsx b/components/Blocks/BlueskyPostBlock/index.tsx index 4b60de85..baeb04e9 100644 --- a/components/Blocks/BlueskyPostBlock/index.tsx +++ b/components/Blocks/BlueskyPostBlock/index.tsx @@ -103,11 +103,15 @@ export const BlueskyPostBlock = (props: BlockProps & { preview?: boolean }) => { {post.post.author && record && ( <>
- {`${post.post.author?.displayName}'s + {post.post.author?.avatar ? ( + {`${post.post.author?.displayName}'s + ) : ( +
+ )}
{post.post.author?.displayName} -- 2.51.2