From a326d7762f270b9951e39b39522b00b44ed10adb Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 7 Jun 2019 10:31:52 -0500 Subject: [PATCH] Refactoring --- src/redux/reducers/download_reducer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/redux/reducers/download_reducer.js b/src/redux/reducers/download_reducer.js index dfb98cf..8f4a983 100644 --- a/src/redux/reducers/download_reducer.js +++ b/src/redux/reducers/download_reducer.js @@ -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, }