From 5be5f96faa5039e42ca85edd68b3f373f31a2ca0 Mon Sep 17 00:00:00 2001
From: Wesley <46491851+wscld@users.noreply.github.com>
Date: Fri, 20 Sep 2024 16:49:23 -0300
Subject: Fixing hover card for labeler accounts (#5414)

* Fixing hover card for labeler account

* removing memo
---
 src/components/ProfileHoverCard/index.web.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/components/ProfileHoverCard/index.web.tsx')

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}
-- 
cgit 1.4.1

