[Refactoring] [Attempt to fix crash]
This commit is contained in:
@@ -1,15 +1,20 @@
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {setAllowDownload, SET_DOWNLOAD_BEGIN, setDownloadEnd, setDownloadProgress} from '../actions/download_actions';
|
||||
import {
|
||||
setAllowDownload,
|
||||
SET_DOWNLOAD_BEGIN,
|
||||
setDownloadEnd,
|
||||
setDownloadProgress
|
||||
} from '../actions/download_actions';
|
||||
|
||||
const defaultDownloadState = {
|
||||
DownloadActive: false,
|
||||
DownloadProgress: 0.0,
|
||||
DownloadingDependency: false,
|
||||
DownloadName: '',
|
||||
DownloadType: null,
|
||||
DownloadingRelease: false,
|
||||
DownloadingUpgrade: false,
|
||||
DownloadName: '',
|
||||
DownloadProgress: 0.0,
|
||||
DownloadResult: null,
|
||||
DownloadingUpgrade: false
|
||||
DownloadType: null,
|
||||
};
|
||||
|
||||
export const downloadReducer = createReducer({
|
||||
|
||||
Reference in New Issue
Block a user