Merge remote-tracking branch 'origin/1.1.x_branch' into 1.2.x_branch
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as Constants from '../../constants';
|
||||
import {createAction} from 'redux-starter-kit';
|
||||
import {createAction} from '@reduxjs/toolkit';
|
||||
import {getIPCRenderer} from '../../utils';
|
||||
|
||||
const ipcRenderer = getIPCRenderer();
|
||||
@@ -126,4 +126,4 @@ export const shutdownApplication = () => {
|
||||
ipcRenderer.send(Constants.IPC_Shutdown);
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as Constants from '../../constants';
|
||||
import {createAction} from 'redux-starter-kit';
|
||||
import {createAction} from '@reduxjs/toolkit';
|
||||
import {getIPCRenderer} from '../../utils';
|
||||
import {notifyError} from './error_actions';
|
||||
import {
|
||||
@@ -96,4 +96,4 @@ export const downloadItem = (name, type, urls, isWinFSP, testVersion, appPlatfor
|
||||
};
|
||||
downloadAtIndex(0);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as Constants from '../../constants';
|
||||
import {createAction} from 'redux-starter-kit';
|
||||
import {createAction} from '@reduxjs/toolkit';
|
||||
import {
|
||||
getIPCRenderer,
|
||||
getSelectedVersionFromState
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as Constants from '../../constants';
|
||||
import {createAction} from 'redux-starter-kit';
|
||||
import {createAction} from '@reduxjs/toolkit';
|
||||
import {getIPCRenderer} from '../../utils';
|
||||
import {
|
||||
confirmYesNo,
|
||||
@@ -156,4 +156,4 @@ export const unmountAll = completedCallback => {
|
||||
ipcRenderer.once(Constants.IPC_Unmount_All_Drives_Reply, unmountedCallback);
|
||||
ipcRenderer.send(Constants.IPC_Unmount_All_Drives);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import axios from 'axios';
|
||||
import * as Constants from '../../constants';
|
||||
import {createAction} from 'redux-starter-kit';
|
||||
import {createAction} from '@reduxjs/toolkit';
|
||||
import {notifyError} from './error_actions';
|
||||
import {
|
||||
saveState,
|
||||
@@ -181,4 +181,4 @@ export const setUIUpgradeData = (upgradeData, version) => {
|
||||
version: version,
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {createReducer} from '@reduxjs/toolkit';
|
||||
import {
|
||||
DISPLAY_CONFIRM_YES_NO,
|
||||
notifyRebootRequired,
|
||||
@@ -58,4 +58,4 @@ export const createCommonReducer = (platformInfo, version) => {
|
||||
};
|
||||
},
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {createReducer} from '@reduxjs/toolkit';
|
||||
import {
|
||||
setAllowDownload,
|
||||
SET_DOWNLOAD_BEGIN,
|
||||
@@ -50,4 +50,4 @@ export const downloadReducer = createReducer({
|
||||
DownloadProgress: action.payload,
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {createReducer} from '@reduxjs/toolkit';
|
||||
import {
|
||||
CLEAR_ERROR,
|
||||
CLEAR_INFO,
|
||||
@@ -49,4 +49,4 @@ export const errorReducer = createReducer({
|
||||
InfoStack: infoStack,
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {createReducer} from '@reduxjs/toolkit';
|
||||
import {
|
||||
setDismissDependencies,
|
||||
setInstallActive,
|
||||
@@ -49,4 +49,4 @@ export const installReducer = createReducer({
|
||||
MissingDependencies: action.payload,
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import * as Constants from '../../constants';
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {createReducer} from '@reduxjs/toolkit';
|
||||
import {
|
||||
addRemoteMount2,
|
||||
DISPLAY_CONFIGURATION,
|
||||
@@ -191,4 +191,4 @@ export const createMountReducer = state => {
|
||||
};
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {createReducer} from 'redux-starter-kit';
|
||||
import {createReducer} from '@reduxjs/toolkit';
|
||||
import * as Actions from '../actions/release_version_actions';
|
||||
import * as Constants from '../../constants';
|
||||
|
||||
@@ -83,4 +83,4 @@ export const releaseVersionReducer = createReducer({
|
||||
UpgradeDismissed: false,
|
||||
};
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {configureStore, getDefaultMiddleware} from 'redux-starter-kit';
|
||||
import {configureStore, getDefaultMiddleware} from '@reduxjs/toolkit';
|
||||
import {createCommonReducer} from '../reducers/common_reducer';
|
||||
import {downloadReducer} from '../reducers/download_reducer';
|
||||
import {errorReducer} from '../reducers/error_reducer';
|
||||
@@ -23,4 +23,4 @@ export default function createAppStore(platformInfo, version, state) {
|
||||
middleware,
|
||||
devTools: process.env.NODE_ENV !== 'production'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user