aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-07-28 05:07:36 +0800
committerDan Finlay <dan@danfinlay.com>2017-07-28 05:07:36 +0800
commitf884477abbf427ac390e682fd6380c6a826f0745 (patch)
treee3d94cfd3797a35dada36ccf34a0155b0b651d05 /ui
parente73c7b907a111a12bcae3c04da9c3c99931f9e72 (diff)
downloadtangerine-wallet-browser-f884477abbf427ac390e682fd6380c6a826f0745.tar
tangerine-wallet-browser-f884477abbf427ac390e682fd6380c6a826f0745.tar.gz
tangerine-wallet-browser-f884477abbf427ac390e682fd6380c6a826f0745.tar.bz2
tangerine-wallet-browser-f884477abbf427ac390e682fd6380c6a826f0745.tar.lz
tangerine-wallet-browser-f884477abbf427ac390e682fd6380c6a826f0745.tar.xz
tangerine-wallet-browser-f884477abbf427ac390e682fd6380c6a826f0745.tar.zst
tangerine-wallet-browser-f884477abbf427ac390e682fd6380c6a826f0745.zip
Remove unused parameter
Diffstat (limited to 'ui')
-rw-r--r--ui/app/actions.js2
-rw-r--r--ui/app/app.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index fca34d624..0a9d347aa 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -706,7 +706,7 @@ function markAccountsFound () {
//
// default rpc target refers to localhost:8545 in this instance.
-function setDefaultRpcTarget (rpcList) {
+function setDefaultRpcTarget () {
log.debug(`background.setDefaultRpcTarget`)
return (dispatch) => {
background.setDefaultRpc((err, result) => {
diff --git a/ui/app/app.js b/ui/app/app.js
index f67335797..aadaa6f03 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -267,7 +267,7 @@ App.prototype.renderNetworkDropdown = function () {
DropdownMenuItem,
{
closeMenu: () => this.setState({ isNetworkMenuOpen: !isOpen }),
- onClick: () => props.dispatch(actions.setDefaultRpcTarget(rpcList)),
+ onClick: () => props.dispatch(actions.setDefaultRpcTarget()),
},
[
h('i.fa.fa-question-circle.fa-lg.menu-icon'),