diff options
Diffstat (limited to 'ui/app/store')
-rw-r--r-- | ui/app/store/actions.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ui/app/store/actions.js b/ui/app/store/actions.js index 476a77b42..389a47d46 100644 --- a/ui/app/store/actions.js +++ b/ui/app/store/actions.js @@ -321,11 +321,6 @@ var actions = { setShowFiatConversionOnTestnetsPreference, setAutoLogoutTimeLimit, - // Migration of users to new UI - setCompletedUiMigration, - completeUiMigration, - COMPLETE_UI_MIGRATION: 'COMPLETE_UI_MIGRATION', - // Onboarding setCompletedOnboarding, completeOnboarding, @@ -2513,31 +2508,6 @@ function completeOnboarding () { } } -function setCompletedUiMigration () { - return dispatch => { - dispatch(actions.showLoadingIndication()) - return new Promise((resolve, reject) => { - background.completeUiMigration(err => { - dispatch(actions.hideLoadingIndication()) - - if (err) { - dispatch(actions.displayWarning(err.message)) - return reject(err) - } - - dispatch(actions.completeUiMigration()) - resolve() - }) - }) - } -} - -function completeUiMigration () { - return { - type: actions.COMPLETE_UI_MIGRATION, - } -} - function setNetworkNonce (networkNonce) { return { type: actions.SET_NETWORK_NONCE, |