Update rootSaga.js

Fix typo in message
This commit is contained in:
nestoralonso 2019-10-07 09:41:31 -05:00 committed by xiaofeng.mxf
parent ed56e9c159
commit 38bd947743

View File

@ -73,8 +73,8 @@ function * doToggleRemoteInterceptHttps(flag) {
function * doToggleRemoteGlobalProxy(flag) { function * doToggleRemoteGlobalProxy(flag) {
const result = yield call(postJSON, '/api/toggleGlobalProxy', { flag: flag }); const result = yield call(postJSON, '/api/toggleGlobalProxy', { flag: flag });
const windowsMessage = 'Sucessfully turned on, it may take up to 1 min to take effect.'; const windowsMessage = 'Successfully turned on, it may take up to 1 min to take effect.';
const linuxMessage = 'Sucessfully turned on.'; const linuxMessage = 'Successfully turned on.';
const turnDownMessage = 'Global proxy has been turned down.'; const turnDownMessage = 'Global proxy has been turned down.';
if (isApiSuccess(result)) { if (isApiSuccess(result)) {
const tipMessage = result.isWindows ? windowsMessage : linuxMessage; const tipMessage = result.isWindows ? windowsMessage : linuxMessage;