diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-03-03 10:26:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-03 10:26:52 +0800 |
commit | d3a0a27c0caafb066e66e444d6fbe71243bd35f6 (patch) | |
tree | 771c6ac9263710611b73c8480daf0b654a398499 /old-ui/app/add-token.js | |
parent | ee254b4f6feeb040607472a0f4d69c7e4173c25e (diff) | |
parent | 0d97ff221017b78ccfa02defdb7a52ad701981a5 (diff) | |
download | tangerine-wallet-browser-d3a0a27c0caafb066e66e444d6fbe71243bd35f6.tar tangerine-wallet-browser-d3a0a27c0caafb066e66e444d6fbe71243bd35f6.tar.gz tangerine-wallet-browser-d3a0a27c0caafb066e66e444d6fbe71243bd35f6.tar.bz2 tangerine-wallet-browser-d3a0a27c0caafb066e66e444d6fbe71243bd35f6.tar.lz tangerine-wallet-browser-d3a0a27c0caafb066e66e444d6fbe71243bd35f6.tar.xz tangerine-wallet-browser-d3a0a27c0caafb066e66e444d6fbe71243bd35f6.tar.zst tangerine-wallet-browser-d3a0a27c0caafb066e66e444d6fbe71243bd35f6.zip |
Merge branch 'master' into ImportAccountMessageV2
Diffstat (limited to 'old-ui/app/add-token.js')
-rw-r--r-- | old-ui/app/add-token.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/old-ui/app/add-token.js b/old-ui/app/add-token.js index 8a3e66978..e869ac39a 100644 --- a/old-ui/app/add-token.js +++ b/old-ui/app/add-token.js @@ -156,6 +156,9 @@ AddTokenScreen.prototype.render = function () { const { address, symbol, decimals } = this.state this.props.dispatch(actions.addToken(address.trim(), symbol.trim(), decimals)) + .then(() => { + this.props.dispatch(actions.goHome()) + }) }, }, 'Add'), ]), |