diff options
author | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-04-22 16:44:48 -0700 |
---|---|---|
committer | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-04-22 16:44:48 -0700 |
commit | dd0ccf25aaec5d0ef4a9e8a38e97cd8b03bad0a1 (patch) | |
tree | 182e4ecd75668b1ff62f435d88c35aa5c63e36fb /src/components/profile/Content.tsx | |
parent | 1f04e445e9d317bc141624a440a2c1e55f8704b3 (diff) |
Private Hotifix
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r-- | src/components/profile/Content.tsx | 8 |
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 {...{ |