aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-28 05:45:43 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-28 05:45:43 +0800
commit5cfce8c45a10db8271682b282d4c41747e01943a (patch)
tree7f58110f7f7a9dbe8ee70701465bde8bbae31966 /ui/app
parent06706f6e1bc721ce8186d694f75b520c1e13124b (diff)
downloadtangerine-wallet-browser-5cfce8c45a10db8271682b282d4c41747e01943a.tar
tangerine-wallet-browser-5cfce8c45a10db8271682b282d4c41747e01943a.tar.gz
tangerine-wallet-browser-5cfce8c45a10db8271682b282d4c41747e01943a.tar.bz2
tangerine-wallet-browser-5cfce8c45a10db8271682b282d4c41747e01943a.tar.lz
tangerine-wallet-browser-5cfce8c45a10db8271682b282d4c41747e01943a.tar.xz
tangerine-wallet-browser-5cfce8c45a10db8271682b282d4c41747e01943a.tar.zst
tangerine-wallet-browser-5cfce8c45a10db8271682b282d4c41747e01943a.zip
Fix token adding bug
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/actions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 6ff28f32f..d99291e46 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -645,7 +645,9 @@ function addToken (address, symbol, decimals) {
if (err) {
return dispatch(actions.displayWarning(err.message))
}
- dispatch(actions.goHome())
+ setTimeout(() => {
+ dispatch(actions.goHome())
+ }, 250)
})
}
}