diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-07-04 22:51:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 22:51:21 +0800 |
commit | df17853502f2a9cad6bf0067663de9496f67a7b7 (patch) | |
tree | 6a237dec2ad43cecd59a101380b534dc4e8919ad /ui/app/store | |
parent | 714cf72fc3bfdf6c0440f712e5719885c86dcc00 (diff) | |
download | tangerine-wallet-browser-df17853502f2a9cad6bf0067663de9496f67a7b7.tar.gz tangerine-wallet-browser-df17853502f2a9cad6bf0067663de9496f67a7b7.tar.zst tangerine-wallet-browser-df17853502f2a9cad6bf0067663de9496f67a7b7.zip |
Remove UiMigrationAnnouncement and associated state (#6794)
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, |