aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/Content.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-12-31 12:44:23 -0800
committerGitHub <noreply@github.com>2020-12-31 15:44:23 -0500
commit75d5e910767f531e8261d5fd70ad427214599102 (patch)
tree7206b8da0cb138bde31beed80d1d5969b7a6f432 /src/components/profile/Content.tsx
parent42f25160c69e451549afc22ec786ec0a289f2704 (diff)
fix (#158)
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r--src/components/profile/Content.tsx2
1 files changed, 1 insertions, 1 deletions
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<ContentProps> = ({y, userXId, screenType}) => {
if (isFriend != isActuallyAFriend) {
setIsFriend(isActuallyAFriend);
}
- }, [friends]);
+ }, [friendsLoggedInUser]);
useEffect(() => {
const isActuallyBlocked = blockedUsers.some(