From d85eaeb878cbbeedda860ee5809b81100c910af2 Mon Sep 17 00:00:00 2001
From: Ashm Walia <ashmwalia@outlook.com>
Date: Sat, 16 Jan 2021 09:44:41 -0800
Subject: Done

---
 src/components/profile/Content.tsx | 12 ------------
 1 file changed, 12 deletions(-)

(limited to 'src/components/profile/Content.tsx')

diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index cc9849e6..9213e012 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -194,18 +194,6 @@ const Content: React.FC<ContentProps> = ({y, userXId, screenType}) => {
     }, [profile.profile_completion_stage, momentCategories]),
   );
 
-  /**
-   * This hook is called on load of profile and when you update the friends list.
-   */
-  // useEffect(() => {
-  //   const isActuallyAFriend = friendsLoggedInUser.some(
-  //     (friend) => friend.username === user.username,
-  //   );
-  //   if (isFriend != isActuallyAFriend) {
-  //     setIsFriend(isActuallyAFriend);
-  //   }
-  // }, [friendsLoggedInUser]);
-
   useEffect(() => {
     const isActuallyBlocked = blockedUsers.some(
       (cur_user) => user.username === cur_user.username,
-- 
cgit v1.2.3-70-g09d2

