From 75d5e910767f531e8261d5fd70ad427214599102 Mon Sep 17 00:00:00 2001 From: Ashm Walia <40498934+ashmgarv@users.noreply.github.com> Date: Thu, 31 Dec 2020 12:44:23 -0800 Subject: fix (#158) --- src/components/profile/Content.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/profile') diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx index a6c3abdc..a4e4198c 100644 --- a/src/components/profile/Content.tsx +++ b/src/components/profile/Content.tsx @@ -155,7 +155,7 @@ const Content: React.FC = ({y, userXId, screenType}) => { if (isFriend != isActuallyAFriend) { setIsFriend(isActuallyAFriend); } - }, [friends]); + }, [friendsLoggedInUser]); useEffect(() => { const isActuallyBlocked = blockedUsers.some( -- cgit v1.2.3-70-g09d2