Archived
Refactoring
This commit is contained in:
1 parent
d86f1c82a1
commit
a326d7762f
1 file changed
+1
-2
@@ -25,10 +25,9 @@ export const downloadReducer = createReducer({
|
||||
[SET_DOWNLOAD_BEGIN]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
...defaultDownloadState,
|
||||
DownloadActive: true,
|
||||
DownloadName: action.payload.name,
|
||||
DownloadProgress: 0.0,
|
||||
DownloadResult: null,
|
||||
DownloadType: action.payload.type,
|
||||
DownloadURL: action.payload.url,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user