commit
eaf10b6ce8
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue