diff options
author | Wesley <46491851+wscld@users.noreply.github.com> | 2024-09-20 16:49:23 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 14:49:23 -0500 |
commit | 5be5f96faa5039e42ca85edd68b3f373f31a2ca0 (patch) | |
tree | 7dd27bb968d976621641d8b1d87b35310b0db892 /src/components | |
parent | 79a2f8d5280230a125b42c60bbb5b9e4be4f9109 (diff) | |
download | voidsky-5be5f96faa5039e42ca85edd68b3f373f31a2ca0.tar.zst |
Fixing hover card for labeler accounts (#5414)
* Fixing hover card for labeler account * removing memo
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ProfileHoverCard/index.web.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx index 3890790db..3854ee014 100644 --- a/src/components/ProfileHoverCard/index.web.tsx +++ b/src/components/ProfileHoverCard/index.web.tsx @@ -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} |