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

Merge pull request #311 from MetaMask/settings

Remove network option buttons
This commit is contained in:
Dan Finlay 2016-06-22 21:08:59 -07:00 committed by GitHub
commit 9fb3ee9846
2 changed files with 1 additions and 37 deletions

View File

@ -2,6 +2,7 @@
## Current Master
- Remove redundant network option buttons from settings page
- Switch out font family Transat for Montserrat
## 2.4.2 2016-06-22

View File

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