mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Remove redundant network option buttons from settings page
This commit is contained in:
parent
fd01e45cd5
commit
a5c782d69c
@ -74,42 +74,6 @@ ConfigScreen.prototype.render = function () {
|
||||
}, '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('div', {
|
||||
|
Loading…
Reference in New Issue
Block a user