diff options
author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2020-12-31 12:44:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 15:44:23 -0500 |
commit | 75d5e910767f531e8261d5fd70ad427214599102 (patch) | |
tree | 7206b8da0cb138bde31beed80d1d5969b7a6f432 /src | |
parent | 42f25160c69e451549afc22ec786ec0a289f2704 (diff) |
fix (#158)
Diffstat (limited to 'src')
-rw-r--r-- | src/components/profile/Content.tsx | 2 | ||||
-rw-r--r-- | src/types/types.ts | 2 |
2 files changed, 2 insertions, 2 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( diff --git a/src/types/types.ts b/src/types/types.ts index 471f5b84..2692900b 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -176,7 +176,7 @@ export type TaggPopupType = { export type NotificationType = { actor: ProfilePreviewType; verbage: string; - notification_type: 'DFT' | 'FLO' | 'CMT'; + notification_type: 'DFT' | 'FRD' | 'CMT'; notification_object: CommentType | undefined; timestamp: string; unread: boolean; |