diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-05-17 04:01:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 04:01:36 +0800 |
commit | d722aa7f0c6427f8c51a39c5f6a510a80510bdbb (patch) | |
tree | 7f995122a29eafeb81eb47f83f550d4ecb9cba9d /ui/app/components/pages/settings/settings.js | |
parent | 6e79225dbff512ab9bcae2731bcfc4ce33e98664 (diff) | |
parent | ff91ef96ef1f71c22dd66ea4140b1b211c033641 (diff) | |
download | tangerine-wallet-browser-d722aa7f0c6427f8c51a39c5f6a510a80510bdbb.tar.gz tangerine-wallet-browser-d722aa7f0c6427f8c51a39c5f6a510a80510bdbb.tar.zst tangerine-wallet-browser-d722aa7f0c6427f8c51a39c5f6a510a80510bdbb.zip |
Merge pull request #4155 from MetaMask/network-controller-remove-setNetworkEndpoints
Network controller - remove dead code
Diffstat (limited to 'ui/app/components/pages/settings/settings.js')
-rw-r--r-- | ui/app/components/pages/settings/settings.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/app/components/pages/settings/settings.js b/ui/app/components/pages/settings/settings.js index bdefe56f8..f58ac7ddf 100644 --- a/ui/app/components/pages/settings/settings.js +++ b/ui/app/components/pages/settings/settings.js @@ -12,7 +12,6 @@ const SimpleDropdown = require('../../dropdowns/simple-dropdown') const ToggleButton = require('react-toggle-button') const { REVEAL_SEED_ROUTE } = require('../../../routes') const locales = require('../../../../../app/_locales/index.json') -const { OLD_UI_NETWORK_TYPE } = require('../../../../../app/scripts/controllers/network/enums') const getInfuraCurrencyOptions = () => { const sortedCurrencies = infuraCurrencies.objects.sort((a, b) => { @@ -349,7 +348,6 @@ const mapDispatchToProps = dispatch => { updateCurrentLocale: key => dispatch(actions.updateCurrentLocale(key)), setFeatureFlagToBeta: () => { return dispatch(actions.setFeatureFlag('betaUI', false, 'OLD_UI_NOTIFICATION_MODAL')) - .then(() => dispatch(actions.setNetworkEndpoints(OLD_UI_NETWORK_TYPE))) }, showResetAccountConfirmationModal: () => { return dispatch(actions.showModal({ name: 'CONFIRM_RESET_ACCOUNT' })) |