diff options
-rw-r--r-- | ui/app/accounts/index.js | 2 | ||||
-rw-r--r-- | ui/app/actions.js | 4 | ||||
-rw-r--r-- | ui/example.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js index 8035ee6ab..fcb3a7b0f 100644 --- a/ui/app/accounts/index.js +++ b/ui/app/accounts/index.js @@ -134,7 +134,7 @@ AccountsScreen.prototype.onSelect = function (address, event) { event.stopPropagation() // if already selected, deselect if (this.props.selectedAccount === address) address = null - this.props.dispatch(actions.setselectedAccount(address)) + this.props.dispatch(actions.setSelectedAccount(address)) } AccountsScreen.prototype.onShowDetail = function (address, event) { diff --git a/ui/app/actions.js b/ui/app/actions.js index b61f9f464..8fc7e3a29 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -71,7 +71,7 @@ var actions = { TRANSACTION_ERROR: 'TRANSACTION_ERROR', NEXT_TX: 'NEXT_TX', PREVIOUS_TX: 'PREV_TX', - setselectedAccount: setselectedAccount, + setSelectedAccount: setSelectedAccount, signMsg: signMsg, cancelMsg: cancelMsg, sendTx: sendTx, @@ -259,7 +259,7 @@ function showInfoPage () { } } -function setselectedAccount (address) { +function setSelectedAccount (address) { return (dispatch) => { background.setSelectedAccount(address) } diff --git a/ui/example.js b/ui/example.js index a7e6b80ed..888748c48 100644 --- a/ui/example.js +++ b/ui/example.js @@ -85,7 +85,7 @@ accountManager.submitPassword = function (password, cb) { } } -accountManager.setselectedAccount = function (address, cb) { +accountManager.setSelectedAccount = function (address, cb) { selectedAccount = address cb(null, getState()) this._didUpdate() |