aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-03-23 04:05:04 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-03-23 04:05:04 +0800
commitb26c53452e2817f4f00a4770eae8828731e97808 (patch)
treeb2988ec02a15ce37e3cde79fb138eac2f94fc2e4 /ui/app
parent34f3889eb00d41920c67ec2d4845626b5b480eb5 (diff)
downloadtangerine-wallet-browser-b26c53452e2817f4f00a4770eae8828731e97808.tar
tangerine-wallet-browser-b26c53452e2817f4f00a4770eae8828731e97808.tar.gz
tangerine-wallet-browser-b26c53452e2817f4f00a4770eae8828731e97808.tar.bz2
tangerine-wallet-browser-b26c53452e2817f4f00a4770eae8828731e97808.tar.lz
tangerine-wallet-browser-b26c53452e2817f4f00a4770eae8828731e97808.tar.xz
tangerine-wallet-browser-b26c53452e2817f4f00a4770eae8828731e97808.tar.zst
tangerine-wallet-browser-b26c53452e2817f4f00a4770eae8828731e97808.zip
Add Kovan test network to our application.
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/app.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 9c1ba8a3a..5a7596aca 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -256,6 +256,15 @@ App.prototype.renderNetworkDropdown = function () {
}),
h(DropMenuItem, {
+ label: 'Kovan Test Network',
+ closeMenu: () => this.setState({ isNetworkMenuOpen: false}),
+ action: () => props.dispatch(actions.setProviderType('kovan')),
+ icon: h('.menu-icon.hollow-diamond'),
+ activeNetworkRender: props.network,
+ provider: props.provider,
+ }),
+
+ h(DropMenuItem, {
label: 'Localhost 8545',
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
action: () => props.dispatch(actions.setDefaultRpcTarget(rpcList)),