add download canceled to the file_info reducer #86

Merged
akinwale merged 1 commit from download-canceled into master 2018-10-23 16:53:55 +02:00
akinwale commented 2018-10-22 14:09:49 +02:00 (Migrated from github.com)
No description provided.
neb-b (Migrated from github.com) approved these changes 2018-10-22 19:54:12 +02:00
skhameneh (Migrated from github.com) approved these changes 2018-10-23 05:41:22 +02:00
skhameneh (Migrated from github.com) left a comment

Minor comment

Minor comment
@ -91,0 +91,4 @@
const newDownloading = Object.assign({}, state.downloadingByOutpoint);
delete newDownloading[outpoint];
return Object.assign({}, state, {
skhameneh (Migrated from github.com) commented 2018-10-23 05:41:08 +02:00

Can also use:

return {
  ...state,
  {
    downloadingByOutpoint: newDownloading
  }
}
Can also use: ``` return { ...state, { downloadingByOutpoint: newDownloading } } ```
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-redux#86
No description provided.