aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pages
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-01 07:36:17 +0800
committerkumavis <aaron@kumavis.me>2018-05-01 07:36:17 +0800
commit6f316ca450967c161e7f231127a76494bace40a8 (patch)
tree548b6b5907cb1bb32821eeea48f1f7099a76a527 /ui/app/components/pages
parentbfedd2776d1fa668259488a5216c533b4e959fb0 (diff)
downloadtangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.gz
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.bz2
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.lz
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.xz
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.zst
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.zip
network - remove setNetworkEndpoints
Diffstat (limited to 'ui/app/components/pages')
-rw-r--r--ui/app/components/pages/settings/settings.js1
-rw-r--r--ui/app/components/pages/unlock.js4
2 files changed, 0 insertions, 5 deletions
diff --git a/ui/app/components/pages/settings/settings.js b/ui/app/components/pages/settings/settings.js
index bdefe56f8..e5725c0ca 100644
--- a/ui/app/components/pages/settings/settings.js
+++ b/ui/app/components/pages/settings/settings.js
@@ -349,7 +349,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' }))
diff --git a/ui/app/components/pages/unlock.js b/ui/app/components/pages/unlock.js
index 30144b978..bbdb17306 100644
--- a/ui/app/components/pages/unlock.js
+++ b/ui/app/components/pages/unlock.js
@@ -8,7 +8,6 @@ const {
tryUnlockMetamask,
forgotPassword,
markPasswordForgotten,
- setNetworkEndpoints,
setFeatureFlag,
} = require('../../actions')
const { ENVIRONMENT_TYPE_POPUP } = require('../../../../app/scripts/lib/enums')
@@ -146,7 +145,6 @@ class UnlockScreen extends Component {
h('p.pointer', {
onClick: () => {
this.props.useOldInterface()
- .then(() => this.props.setNetworkEndpoints(OLD_UI_NETWORK_TYPE))
},
style: {
fontSize: '0.8em',
@@ -168,7 +166,6 @@ UnlockScreen.propTypes = {
isUnlocked: PropTypes.bool,
t: PropTypes.func,
useOldInterface: PropTypes.func,
- setNetworkEndpoints: PropTypes.func,
}
const mapStateToProps = state => {
@@ -184,7 +181,6 @@ const mapDispatchToProps = dispatch => {
tryUnlockMetamask: password => dispatch(tryUnlockMetamask(password)),
markPasswordForgotten: () => dispatch(markPasswordForgotten()),
useOldInterface: () => dispatch(setFeatureFlag('betaUI', false, 'OLD_UI_NOTIFICATION_MODAL')),
- setNetworkEndpoints: type => dispatch(setNetworkEndpoints(type)),
}
}