From 7dbbd8e27028e7526154542d210c4f6452d5e433 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 25 Feb 2019 14:57:56 -0500 Subject: [PATCH] #380: simply and remove redundancy --- src/modules/statuses.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/statuses.js b/src/modules/statuses.js index c6fcfe2e..694067ff 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -304,7 +304,6 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot } } } else if (notification.seen) { - state.notifications.data.find(n => n.id === notification.id).seen = true state.notifications.idStore[notification.id].seen = true } })