aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/keychains/hd
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-25 07:50:25 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-25 07:50:25 +0800
commit7c2001102311d8e35f01d39ede9d5ac00e635006 (patch)
tree7ac6ad5567cb9731e8d19159ba339e4e5d73cb44 /ui/app/keychains/hd
parentac3072e037ee97e87ff405d4562ce7e7c00dcd8a (diff)
parentae56b865e8a4d3a6a82a97efeca34b8a592c985b (diff)
downloadtangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.gz
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.tar.zst
tangerine-wallet-browser-7c2001102311d8e35f01d39ede9d5ac00e635006.zip
Merge branch 'master' into NewUI-flat
Diffstat (limited to 'ui/app/keychains/hd')
-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))
}