From 848151c4f96dd0e60feb8c5845da2970425ce968 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 10 Jun 2024 20:49:28 -0500 Subject: Revert "Fix undefined block (#4471)" (#4472) This reverts commit 7cac413f3b397fee95681033f075d51c7c4ee153. --- src/components/ProfileHoverCard/index.web.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (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 e85ad0c37..024867b1a 100644 --- a/src/components/ProfileHoverCard/index.web.tsx +++ b/src/components/ProfileHoverCard/index.web.tsx @@ -370,10 +370,7 @@ function Inner({ profile: profileShadow, logContext: 'ProfileHoverCard', }) - const isProfileBlocked = - profile.viewer?.blocking || - profile.viewer?.blockedBy || - profile.viewer?.blockingByList + const blockHide = profile.viewer?.blocking || profile.viewer?.blockedBy const following = formatCount(profile.followsCount || 0) const followers = formatCount(profile.followersCount || 0) const pluralizedFollowers = plural(profile.followersCount || 0, { @@ -404,7 +401,7 @@ function Inner({ /> - {!isMe && !isProfileBlocked && ( + {!isMe && (