aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-22 10:16:59 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-22 10:16:59 +0800
commit17d63acaed8fd9a885368831858ba216558ff155 (patch)
tree2b427485fc1f0be88e94ca9a576512e15b0122cb /ui/app
parent3577aa4649dfa435d85a0b9c52d0e138062a2321 (diff)
downloadtangerine-wallet-browser-17d63acaed8fd9a885368831858ba216558ff155.tar
tangerine-wallet-browser-17d63acaed8fd9a885368831858ba216558ff155.tar.gz
tangerine-wallet-browser-17d63acaed8fd9a885368831858ba216558ff155.tar.bz2
tangerine-wallet-browser-17d63acaed8fd9a885368831858ba216558ff155.tar.lz
tangerine-wallet-browser-17d63acaed8fd9a885368831858ba216558ff155.tar.xz
tangerine-wallet-browser-17d63acaed8fd9a885368831858ba216558ff155.tar.zst
tangerine-wallet-browser-17d63acaed8fd9a885368831858ba216558ff155.zip
Fix camel casing on setSelectedAccount action.
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/accounts/index.js2
-rw-r--r--ui/app/actions.js4
2 files changed, 3 insertions, 3 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)
}