aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-17 07:40:55 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-17 07:40:55 +0800
commitc5d334d37270aa4bea43d925c4eef64574aaec88 (patch)
treeac17a6b6b1f21c1e378fc66886668ac7c1eec09d /ui/app/actions.js
parentaf48b94f6fa5024e6ec07dc654e6c23d1ebd5b69 (diff)
downloadtangerine-wallet-browser-c5d334d37270aa4bea43d925c4eef64574aaec88.tar
tangerine-wallet-browser-c5d334d37270aa4bea43d925c4eef64574aaec88.tar.gz
tangerine-wallet-browser-c5d334d37270aa4bea43d925c4eef64574aaec88.tar.bz2
tangerine-wallet-browser-c5d334d37270aa4bea43d925c4eef64574aaec88.tar.lz
tangerine-wallet-browser-c5d334d37270aa4bea43d925c4eef64574aaec88.tar.xz
tangerine-wallet-browser-c5d334d37270aa4bea43d925c4eef64574aaec88.tar.zst
tangerine-wallet-browser-c5d334d37270aa4bea43d925c4eef64574aaec88.zip
Fix disclaimer approving action
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 4a1460040..e178d2340 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -318,7 +318,8 @@ function showInitializeMenu() {
function agreeToDisclaimer() {
return (dispatch) => {
dispatch(this.showLoadingIndication())
- _accountManager.agreeToDisclaimer((err) {
+ _accountManager.agreeToDisclaimer((err) => {
+ dispatch(this.hideLoadingIndication())
dispatch({
type: this.AGREE_TO_DISCLAIMER,
})