1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Remove redundant network option buttons from settings page

This commit is contained in:
Frankie 2016-06-22 16:19:56 -07:00
parent fd01e45cd5
commit a5c782d69c

View File

@ -74,42 +74,6 @@ ConfigScreen.prototype.render = function () {
}, 'Save'), }, 'Save'),
]), ]),
h('div', [
h('button.spaced', {
style: {
alignSelf: 'center',
},
onClick (event) {
event.preventDefault()
state.dispatch(actions.setProviderType('mainnet'))
},
}, 'Use Main Network'),
]),
h('div', [
h('button.spaced', {
style: {
alignSelf: 'center',
},
onClick (event) {
event.preventDefault()
state.dispatch(actions.setProviderType('testnet'))
},
}, 'Use Morden Test Network'),
]),
h('div', [
h('button.spaced', {
style: {
alignSelf: 'center',
},
onClick (event) {
event.preventDefault()
state.dispatch(actions.setRpcTarget('http://localhost:8545/'))
},
}, 'Use http://localhost:8545'),
]),
h('hr.horizontal-line'), h('hr.horizontal-line'),
h('div', { h('div', {