fix typo #2090

Merged
neb-b merged 1 commit from subs into master 2018-11-05 16:51:31 +01:00
Showing only changes of commit f3d093e62c - Show all commits

View file

@ -46,7 +46,7 @@ export default handleActions(
.filter(subscription => subscription.channelName !== subscriptionToRemove.channelName); .filter(subscription => subscription.channelName !== subscriptionToRemove.channelName);
// Check if we need to remove it from the 'unread' state // Check if we need to remove it from the 'unread' state
const { unread } = state.unread; const { unread } = state;
if (unread[subscriptionToRemove.uri]) { if (unread[subscriptionToRemove.uri]) {
delete unread[subscriptionToRemove.uri]; delete unread[subscriptionToRemove.uri];
} }