fix typo #2090

Merged
neb-b merged 1 commit from subs into master 2018-11-05 16:51:31 +01:00

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