aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app/add-token.js
diff options
context:
space:
mode:
Diffstat (limited to 'old-ui/app/add-token.js')
-rw-r--r--old-ui/app/add-token.js3
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'),
]),