From a5c782d69cace752a42f52830ea3edc61a95a0b1 Mon Sep 17 00:00:00 2001 From: Frankie Date: Wed, 22 Jun 2016 16:19:56 -0700 Subject: Remove redundant network option buttons from settings page --- ui/app/config.js | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'ui/app/config.js') diff --git a/ui/app/config.js b/ui/app/config.js index 4094180dd..24a1d4a92 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -73,43 +73,7 @@ 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', { -- cgit