show avatar for OP as well

This commit is contained in:
Tom (plebeius.eth)
2024-07-31 15:46:02 +02:00
parent 48b55ed972
commit 568ab16b06
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ const PostInfo = ({ openReplyModal, post, postReplyCount = 0, roles, isHidden }:
</span> </span>
{!(isDescription || isRules) && ( {!(isDescription || isRules) && (
<> <>
{isReply && author?.avatar && ( {author?.avatar && (
<span className={styles.authorAvatar}> <span className={styles.authorAvatar}>
<img src={avatarImageUrl} alt='' /> <img src={avatarImageUrl} alt='' />
</span> </span>
+1 -1
View File
@@ -74,7 +74,7 @@ const PostInfoAndMedia = ({ openReplyModal, post, postReplyCount = 0, roles }: P
</span> </span>
{!(isDescription || isRules) && ( {!(isDescription || isRules) && (
<> <>
{isReply && author?.avatar && ( {author?.avatar && (
<span className={styles.authorAvatar}> <span className={styles.authorAvatar}>
<img src={avatarImageUrl} alt='' /> <img src={avatarImageUrl} alt='' />
</span> </span>