Package upgrades
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,
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user