tooltip is unnecessary

This commit is contained in:
Tom (plebeius.eth)
2024-07-13 09:37:40 +02:00
parent 1e16068c3a
commit d2c0cf24a7
2 changed files with 2 additions and 14 deletions
+1 -7
View File
@@ -100,13 +100,7 @@ const PostInfo = ({ openReplyModal, post, postReplyCount = 0, roles, isHidden }:
</span>
{!(isDescription || isRules) && (
<>
{isReply && author?.avatar && (
<Tooltip
children={<span className={styles.authorAvatar} style={{ backgroundImage: `url(${avatarImageUrl})` }} />}
content={avatarImageUrl?.toString() || ''}
showTooltip={!!avatarImageUrl}
/>
)}
{isReply && author?.avatar && <span className={styles.authorAvatar} style={{ backgroundImage: `url(${avatarImageUrl})` }} />}
(u/
<Tooltip
children={
+1 -7
View File
@@ -74,13 +74,7 @@ const PostInfoAndMedia = ({ openReplyModal, post, postReplyCount = 0, roles }: P
</span>
{!(isDescription || isRules) && (
<>
{isReply && author?.avatar && (
<Tooltip
children={<span className={styles.authorAvatar} style={{ backgroundImage: `url(${avatarImageUrl})` }} />}
content={avatarImageUrl?.toString() || ''}
showTooltip={!!avatarImageUrl}
/>
)}
{isReply && author?.avatar && <span className={styles.authorAvatar} style={{ backgroundImage: `url(${avatarImageUrl})` }} />}
(u/
<Tooltip
children={