This commit is contained in:
Sean Yesmunt 2018-11-05 10:50:49 -05:00
parent f621440b3f
commit f3d093e62c

View file

@ -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];
}