aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-10-13 07:31:15 +0800
committerDan Finlay <dan@danfinlay.com>2016-10-13 07:31:15 +0800
commit5c9969e126b1da153d8b0f969fbb430d7a146b14 (patch)
tree2551ee0c1827fe1ce825b29bf18f6089eddb94da /ui/app/app.js
parent535d832a64daa4d87367cd29042554f77f4e3dc2 (diff)
downloadtangerine-wallet-browser-5c9969e126b1da153d8b0f969fbb430d7a146b14.tar
tangerine-wallet-browser-5c9969e126b1da153d8b0f969fbb430d7a146b14.tar.gz
tangerine-wallet-browser-5c9969e126b1da153d8b0f969fbb430d7a146b14.tar.bz2
tangerine-wallet-browser-5c9969e126b1da153d8b0f969fbb430d7a146b14.tar.lz
tangerine-wallet-browser-5c9969e126b1da153d8b0f969fbb430d7a146b14.tar.xz
tangerine-wallet-browser-5c9969e126b1da153d8b0f969fbb430d7a146b14.tar.zst
tangerine-wallet-browser-5c9969e126b1da153d8b0f969fbb430d7a146b14.zip
Remove opinionated seed word code
Completely breaking all account maangement, I have removed the opinionated seed-word code from the UI. Web3 injection still seems to work.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js18
1 files changed, 2 insertions, 16 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 71e0637d0..3266ced51 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -8,8 +8,6 @@ const ReactCSSTransitionGroup = require('react-addons-css-transition-group')
const DisclaimerScreen = require('./first-time/disclaimer')
const InitializeMenuScreen = require('./first-time/init-menu')
const CreateVaultScreen = require('./first-time/create-vault')
-const CreateVaultCompleteScreen = require('./first-time/create-vault-complete')
-const RestoreVaultScreen = require('./first-time/restore-vault')
// unlock
const UnlockScreen = require('./unlock')
// accounts
@@ -19,7 +17,6 @@ const SendTransactionScreen = require('./send')
const ConfirmTxScreen = require('./conf-tx')
// other views
const ConfigScreen = require('./config')
-const RevealSeedConfirmation = require('./recover-seed/confirmation')
const InfoScreen = require('./info')
const LoadingIndicator = require('./components/loading')
const SandwichExpando = require('sandwich-expando')
@@ -402,10 +399,6 @@ App.prototype.renderPrimary = function () {
return h(DisclaimerScreen, {key: 'disclaimerScreen'})
}
- if (props.seedWords) {
- return h(CreateVaultCompleteScreen, {key: 'createVaultComplete'})
- }
-
// show initialize screen
if (!props.isInitialized || props.forgottenPassword) {
// show current view
@@ -414,12 +407,6 @@ App.prototype.renderPrimary = function () {
case 'createVault':
return h(CreateVaultScreen, {key: 'createVault'})
- case 'restoreVault':
- return h(RestoreVaultScreen, {key: 'restoreVault'})
-
- case 'createVaultComplete':
- return h(CreateVaultCompleteScreen, {key: 'createVaultComplete'})
-
default:
return h(InitializeMenuScreen, {key: 'menuScreenInit'})
@@ -451,16 +438,15 @@ App.prototype.renderPrimary = function () {
case 'config':
return h(ConfigScreen, {key: 'config'})
- case 'reveal-seed-conf':
- return h(RevealSeedConfirmation, {key: 'reveal-seed-conf'})
-
case 'info':
return h(InfoScreen, {key: 'info'})
case 'createVault':
return h(CreateVaultScreen, {key: 'createVault'})
+
case 'buyEth':
return h(BuyView, {key: 'buyEthView'})
+
case 'qr':
return h('div', {
style: {