From f3d093e62cafe338f4e5fbf705c0a2aeee4139ec Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 5 Nov 2018 10:50:49 -0500 Subject: [PATCH] fix typo --- src/renderer/redux/reducers/subscriptions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/redux/reducers/subscriptions.js b/src/renderer/redux/reducers/subscriptions.js index ccde02056..b4ad80277 100644 --- a/src/renderer/redux/reducers/subscriptions.js +++ b/src/renderer/redux/reducers/subscriptions.js @@ -46,7 +46,7 @@ export default handleActions( .filter(subscription => subscription.channelName !== subscriptionToRemove.channelName); // Check if we need to remove it from the 'unread' state - const { unread } = state.unread; + const { unread } = state; if (unread[subscriptionToRemove.uri]) { delete unread[subscriptionToRemove.uri]; }