diff options
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r-- | src/components/profile/Content.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx index 71e4f195..17713ea3 100644 --- a/src/components/profile/Content.tsx +++ b/src/components/profile/Content.tsx @@ -119,11 +119,6 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => { }); }, []); - /** - * If own profile is being viewed then do not show the follow button. - */ - const isOwnProfile = loggedInUser.username === user.username; - const onLayout = (e: LayoutChangeEvent) => { const {height} = e.nativeEvent.layout; setProfileBodyHeight(height); @@ -283,7 +278,6 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => { onLayout, userXId, screenType, - isOwnProfile, isFollowed, handleFollowUnfollow, isBlocked, |