Merge pull request #2090 from lbryio/subs

fix typo
This commit is contained in:
Sean Yesmunt 2018-11-05 10:51:30 -05:00 committed by GitHub
commit eaf10b6ce8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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