diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-01 17:58:44 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-01 17:58:44 -0500 |
commit | 3e6e2834aead9ee8e7f16fabcaf89e7f2a4263c2 (patch) | |
tree | f99c52c322d502cf58ec4dcecf9f7e010dac027e | |
parent | c758829621b78aadfb17c52da81aa2cba28dbf4d (diff) |
to MOM
-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'; |