aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/profile/Content.tsx2
-rw-r--r--src/types/types.ts2
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;