Add in-app notifications for moderation actions/warnings (#30065)

This commit is contained in:
Claire authored and GitHub committed 2024-04-25 17:26:05 +00:00
1 parent 0ec061aa8f
commit 4ef0b48b95
13 files changed
+188 -21

No files matched your search

@@ -56,6 +56,7 @@ export const notificationToMap = notification => ImmutableMap({
status: notification.status ? notification.status.id : null,
report: notification.report ? fromJS(notification.report) : null,
event: notification.event ? fromJS(notification.event) : null,
moderation_warning: notification.moderation_warning ? fromJS(notification.moderation_warning) : null,
});
const normalizeNotification = (state, notification, usePendingItems) => {