diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/notifications/Notification.tsx | 4 | ||||
-rw-r--r-- | src/types/types.ts | 4 |
2 files changed, 4 insertions, 4 deletions
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<NotificationProps> = (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'; |