aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/Content.tsx
diff options
context:
space:
mode:
authorShravya Ramesh <37447613+shravyaramesh@users.noreply.github.com>2021-04-23 15:06:01 -0700
committerGitHub <noreply@github.com>2021-04-23 15:06:01 -0700
commita27963c51aa2c0b65dd23b5e7211addf5995046f (patch)
tree3c2b2328384630b6388ed77773ee6470e17df23d /src/components/profile/Content.tsx
parentce5bf93fef3f5108e0dca35bf24accb4d9d654bb (diff)
parent5e247c2045fa53616008aae73f0192ffed048709 (diff)
Merge branch 'master' into tma-807-onpress-indicator
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r--src/components/profile/Content.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index c70d6df5..8298dc9a 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -145,7 +145,13 @@ const Content: React.FC<ContentProps> = ({userXId, screenType}) => {
<Cover {...{userXId, screenType}} />
<ProfileCutout />
<ProfileHeader
- {...{userXId, screenType, handleBlockUnblock, isBlocked}}
+ {...{
+ userXId,
+ screenType,
+ handleBlockUnblock,
+ isBlocked,
+ isPrivate: !canViewProfile(state, userXId, screenType),
+ }}
/>
<ProfileBody
{...{