From 3e6e2834aead9ee8e7f16fabcaf89e7f2a4263c2 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 1 Feb 2021 17:58:44 -0500 Subject: to MOM --- src/components/notifications/Notification.tsx | 4 ++-- src/types/types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx index 265c21b1..fc3119ed 100644 --- a/src/components/notifications/Notification.tsx +++ b/src/components/notifications/Notification.tsx @@ -166,8 +166,8 @@ const Notification: React.FC = (props) => { }, 500); } break; - case 'MOMENT_3+': - case 'MOMENT_FRIEND': + case 'MOM_3+': + case 'MOM_FRIEND': const object = notification_object as MomentType; await fetchUserX( dispatch, diff --git a/src/types/types.ts b/src/types/types.ts index f5f96278..b014aa2e 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -198,6 +198,6 @@ export type TypeOfNotification = // notification_object is CommentType || CommentThreadType | 'CMT' // notification_object is MomentType - | 'MOMENT_3+' + | 'MOM_3+' // notification_object is MomentType - | 'MOMENT_FRIEND'; + | 'MOM_FRIEND'; -- cgit v1.2.3-70-g09d2