|
|
|
@ -29,15 +29,6 @@ InitializeMenuScreen.prototype.render = function() { |
|
|
|
|
|
|
|
|
|
switch (state.currentView.name) { |
|
|
|
|
|
|
|
|
|
case 'createVault': |
|
|
|
|
return h(CreateVaultScreen) |
|
|
|
|
|
|
|
|
|
case 'createVaultComplete': |
|
|
|
|
return h(CreateVaultCompleteScreen) |
|
|
|
|
|
|
|
|
|
case 'restoreVault': |
|
|
|
|
return this.renderRestoreVault() |
|
|
|
|
|
|
|
|
|
default: |
|
|
|
|
return this.renderMenu() |
|
|
|
|
|
|
|
|
@ -80,31 +71,6 @@ InitializeMenuScreen.prototype.renderMenu = function() { |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
InitializeMenuScreen.prototype.renderRestoreVault = function() { |
|
|
|
|
var state = this.props |
|
|
|
|
return ( |
|
|
|
|
|
|
|
|
|
h('.initialize-screen.flex-column.flex-center.flex-grow', [ |
|
|
|
|
|
|
|
|
|
// subtitle and nav
|
|
|
|
|
h('.section-title.flex-row.flex-center', [ |
|
|
|
|
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { |
|
|
|
|
onClick: this.showInitializeMenu.bind(this), |
|
|
|
|
}), |
|
|
|
|
h('h2.page-subtitle', 'Restore Vault'), |
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('h3', 'Coming soon....'), |
|
|
|
|
// h('textarea.twelve-word-phrase', {
|
|
|
|
|
// value: 'hey ho what the actual hello rubber duck bumbersnatch crumplezone frankenfurter',
|
|
|
|
|
// }),
|
|
|
|
|
|
|
|
|
|
]) |
|
|
|
|
|
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// InitializeMenuScreen.prototype.splitWor = function() {
|
|
|
|
|
// this.props.dispatch(actions.showInitializeMenu())
|
|
|
|
|
// }
|
|
|
|
|