Fixing hover card for labeler accounts (#5414)

* Fixing hover card for labeler account

* removing memo
This commit is contained in:
Wesley
2024-09-20 16:49:23 -03:00
committed by GitHub
parent 79a2f8d528
commit 5be5f96faa
@@ -411,6 +411,7 @@ function Inner({
() => currentAccount?.did === profile.did,
[currentAccount, profile],
)
const isLabeler = profile.associated?.labeler
return (
<View>
@@ -419,11 +420,13 @@ function Inner({
<UserAvatar
size={64}
avatar={profile.avatar}
type={isLabeler ? 'labeler' : 'user'}
moderation={moderation.ui('avatar')}
/>
</Link>
{!isMe &&
!isLabeler &&
(isBlockedUser ? (
<Link
to={profileURL}