aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/keychains/hd/create-vault-complete.js
diff options
context:
space:
mode:
authortmashuang <tmashuang@gmail.com>2017-10-24 23:36:02 +0800
committertmashuang <tmashuang@gmail.com>2017-10-24 23:36:02 +0800
commit91b23246cd18345e6fb6cba5262ccd2af8876f44 (patch)
tree7e8b76e0ac32022ad4d3e34b942b39372fc45444 /ui/app/keychains/hd/create-vault-complete.js
parent61eea51310508714d753965e3055f533434001e7 (diff)
parentf503120b82c108efae0a4fc1282a43721d961ca2 (diff)
downloadtangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.gz
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.bz2
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.lz
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.xz
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.tar.zst
tangerine-wallet-browser-91b23246cd18345e6fb6cba5262ccd2af8876f44.zip
Merge branch 'firsttimeflow' of https://github.com/chikeichan/metamask-plugin into firsttimeflow
Diffstat (limited to 'ui/app/keychains/hd/create-vault-complete.js')
-rw-r--r--ui/app/keychains/hd/create-vault-complete.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/ui/app/keychains/hd/create-vault-complete.js b/ui/app/keychains/hd/create-vault-complete.js
index 745990351..5ab5d4c33 100644
--- a/ui/app/keychains/hd/create-vault-complete.js
+++ b/ui/app/keychains/hd/create-vault-complete.js
@@ -62,7 +62,8 @@ CreateVaultCompleteScreen.prototype.render = function () {
}),
h('button.primary', {
- onClick: () => this.confirmSeedWords(),
+ onClick: () => this.confirmSeedWords()
+ .then(account => this.showAccountDetail(account)),
style: {
margin: '24px',
fontSize: '0.9em',
@@ -82,5 +83,9 @@ CreateVaultCompleteScreen.prototype.render = function () {
}
CreateVaultCompleteScreen.prototype.confirmSeedWords = function () {
- this.props.dispatch(actions.confirmSeedWords())
+ return this.props.dispatch(actions.confirmSeedWords())
+}
+
+CreateVaultCompleteScreen.prototype.showAccountDetail = function (account) {
+ return this.props.dispatch(actions.showAccountDetail(account))
}