aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-05-12 13:21:10 +0800
committerDan Finlay <dan@danfinlay.com>2016-05-12 13:21:10 +0800
commit29facfe4d6194fe519c906983682a655f8fb6406 (patch)
treed2f910a48ff61c4a12c4c7059027686bc3b1b8d0 /ui/app/app.js
parentb628df017f14c38f68c3048ef503ce8722f07f3b (diff)
downloadtangerine-wallet-browser-29facfe4d6194fe519c906983682a655f8fb6406.tar
tangerine-wallet-browser-29facfe4d6194fe519c906983682a655f8fb6406.tar.gz
tangerine-wallet-browser-29facfe4d6194fe519c906983682a655f8fb6406.tar.bz2
tangerine-wallet-browser-29facfe4d6194fe519c906983682a655f8fb6406.tar.lz
tangerine-wallet-browser-29facfe4d6194fe519c906983682a655f8fb6406.tar.xz
tangerine-wallet-browser-29facfe4d6194fe519c906983682a655f8fb6406.tar.zst
tangerine-wallet-browser-29facfe4d6194fe519c906983682a655f8fb6406.zip
Fix more transition bugs
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 388a067f0..cec3a9657 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -157,12 +157,9 @@ App.prototype.toggleMetamaskActive = function(){
App.prototype.renderPrimary = function(state){
var state = this.props
- // If seed words haven't been dismissed yet, show them still.
- /*
if (state.seedWords) {
return h(CreateVaultCompleteScreen, {key: 'createVaultComplete'})
}
- */
// show initialize screen
if (!state.isInitialized) {
@@ -176,6 +173,9 @@ App.prototype.renderPrimary = function(state){
case 'restoreVault':
return h(RestoreVaultScreen, {key: 'restoreVault'})
+ case 'createVaultComplete':
+ return h(CreateVaultCompleteScreen, {key: 'createVaultComplete'})
+
default:
return h(InitializeMenuScreen, {key: 'menuScreenInit'})
@@ -190,9 +190,6 @@ App.prototype.renderPrimary = function(state){
// show current view
switch (state.currentView.name) {
- case 'createVaultComplete':
- return h(CreateVaultCompleteScreen, {key: 'created-vault'})
-
case 'accounts':
return h(AccountsScreen, {key: 'accounts'})