aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-24 05:56:58 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-24 05:56:58 +0800
commit62854398f1d3c72a82ae9d4feb03d9a1a947534e (patch)
tree879c6ded10ca1f11bdb7057282ffbc61c01b36e4 /ui/app/app.js
parent3be6ee5f6cc5e7b79a8eeea182f91a15eb9ed989 (diff)
downloadtangerine-wallet-browser-62854398f1d3c72a82ae9d4feb03d9a1a947534e.tar
tangerine-wallet-browser-62854398f1d3c72a82ae9d4feb03d9a1a947534e.tar.gz
tangerine-wallet-browser-62854398f1d3c72a82ae9d4feb03d9a1a947534e.tar.bz2
tangerine-wallet-browser-62854398f1d3c72a82ae9d4feb03d9a1a947534e.tar.lz
tangerine-wallet-browser-62854398f1d3c72a82ae9d4feb03d9a1a947534e.tar.xz
tangerine-wallet-browser-62854398f1d3c72a82ae9d4feb03d9a1a947534e.tar.zst
tangerine-wallet-browser-62854398f1d3c72a82ae9d4feb03d9a1a947534e.zip
Tested against code to play nice with unit tests.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index d61f93dd2..cf865f23f 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -257,7 +257,9 @@ App.prototype.renderNetworkDropdown = function () {
h(DropMenuItem, {
label: 'Localhost 8545',
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
- action: () => props.dispatch(actions.setRpcTarget('http://localhost:8545')),
+ action: () => {
+ props.dispatch(actions.setRpcTarget('http://localhost:8545'))
+ },
icon: h('i.fa.fa-question-circle.fa-lg'),
activeNetworkRender: props.provider.rpcTarget,
}),