aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-01 02:35:09 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-01 02:35:09 +0800
commit96643c222a74552d98218fe1f9fc81e493a1960f (patch)
tree9e49503ee49ca0bce8c888c286719de5eb27f1e6 /ui/app/app.js
parent6fc498f8a030ea00bcef9b8b3400fc527fc4aeed (diff)
downloadtangerine-wallet-browser-96643c222a74552d98218fe1f9fc81e493a1960f.tar
tangerine-wallet-browser-96643c222a74552d98218fe1f9fc81e493a1960f.tar.gz
tangerine-wallet-browser-96643c222a74552d98218fe1f9fc81e493a1960f.tar.bz2
tangerine-wallet-browser-96643c222a74552d98218fe1f9fc81e493a1960f.tar.lz
tangerine-wallet-browser-96643c222a74552d98218fe1f9fc81e493a1960f.tar.xz
tangerine-wallet-browser-96643c222a74552d98218fe1f9fc81e493a1960f.tar.zst
tangerine-wallet-browser-96643c222a74552d98218fe1f9fc81e493a1960f.zip
Implement seed word confirmation page.
Remove logs. Move HD render files to ui/app.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 588aa9896..f3ad8efc3 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -27,6 +27,8 @@ const NetworkIndicator = require('./components/network')
const Tooltip = require('./components/tooltip')
const BuyView = require('./components/buy-button-subview')
const QrView = require('./components/qr-code')
+const HDCreateVaultComplete = require('./keychains/hd/create-vault-complete')
+
module.exports = connect(mapStateToProps)(App)
inherits(App, Component)
@@ -35,6 +37,7 @@ function App () { Component.call(this) }
function mapStateToProps (state) {
return {
// state from plugin
+ seedWords: state.metamask.seedWords,
isLoading: state.appState.isLoading,
isConfirmed: state.metamask.isConfirmed,
isInitialized: state.metamask.isInitialized,
@@ -392,6 +395,10 @@ App.prototype.renderPrimary = function () {
return h(DisclaimerScreen, {key: 'disclaimerScreen'})
}
+ if (props.seedWords) {
+ return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'})
+ }
+
// show initialize screen
if (!props.isInitialized || props.forgottenPassword) {