Remove redundant network option buttons from settings page

feature/default_network_editable
Frankie 8 years ago
parent fd01e45cd5
commit a5c782d69c
  1. 38
      ui/app/config.js

@ -73,43 +73,7 @@ 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', {

Loading…
Cancel
Save