aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/ProfileBody.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/profile/ProfileBody.tsx')
-rw-r--r--src/components/profile/ProfileBody.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/profile/ProfileBody.tsx b/src/components/profile/ProfileBody.tsx
index 49ee74ee..85634daa 100644
--- a/src/components/profile/ProfileBody.tsx
+++ b/src/components/profile/ProfileBody.tsx
@@ -11,7 +11,6 @@ interface ProfileBodyProps {
onLayout: (event: LayoutChangeEvent) => void;
isFollowed: boolean;
isBlocked: boolean;
- isOwnProfile: boolean;
handleFollowUnfollow: Function;
handleBlockUnblock: Function;
userXId: string | undefined;
@@ -21,7 +20,6 @@ const ProfileBody: React.FC<ProfileBodyProps> = ({
onLayout,
isFollowed,
isBlocked,
- isOwnProfile,
handleFollowUnfollow,
handleBlockUnblock,
userXId,
@@ -50,7 +48,7 @@ const ProfileBody: React.FC<ProfileBodyProps> = ({
);
}}>{`${website}`}</Text>
)}
- {userXId && !isOwnProfile ? (
+ {userXId && (
<View style={styles.toggleButtonContainer}>
{!isBlocked && (
<ToggleButton
@@ -65,8 +63,6 @@ const ProfileBody: React.FC<ProfileBodyProps> = ({
buttonType={TOGGLE_BUTTON_TYPE.BLOCK_UNBLOCK}
/>
</View>
- ) : (
- <></>
)}
</View>
);