diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-10-22 06:19:16 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-10-22 06:19:16 +0800 |
commit | a462fc82e00c98f4e8c018fbd5dac36d74b88efc (patch) | |
tree | 0ddbe8ab592649f130b5a8e8d9fc2b955261df8c | |
parent | 518ff399fbf17bc747d956bbb64ca76f6bbd4057 (diff) | |
download | tangerine-wallet-browser-a462fc82e00c98f4e8c018fbd5dac36d74b88efc.tar tangerine-wallet-browser-a462fc82e00c98f4e8c018fbd5dac36d74b88efc.tar.gz tangerine-wallet-browser-a462fc82e00c98f4e8c018fbd5dac36d74b88efc.tar.bz2 tangerine-wallet-browser-a462fc82e00c98f4e8c018fbd5dac36d74b88efc.tar.lz tangerine-wallet-browser-a462fc82e00c98f4e8c018fbd5dac36d74b88efc.tar.xz tangerine-wallet-browser-a462fc82e00c98f4e8c018fbd5dac36d74b88efc.tar.zst tangerine-wallet-browser-a462fc82e00c98f4e8c018fbd5dac36d74b88efc.zip |
Fix duplicate provider menu item bug
-rw-r--r-- | ui/app/app.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 3ceae0027..a1004b74b 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -501,12 +501,7 @@ App.prototype.renderCustomOption = function (rpcTarget) { return null case 'http://localhost:8545': - return h(DropMenuItem, { - label: 'Custom RPC', - closeMenu: () => this.setState({ isNetworkMenuOpen: false }), - action: () => this.props.dispatch(actions.showConfigPage()), - icon: h('i.fa.fa-question-circle.fa-lg'), - }) + return null default: return h(DropMenuItem, { |