aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2017-12-05 04:13:02 +0800
committerAlexander Tseung <alextsg@gmail.com>2017-12-15 06:11:23 +0800
commit706a6b0ad6d7b6e2d56252f17713e63430d84abc (patch)
treef956746763dfe4d09388d261698edde88fea933e /ui/app/app.js
parentd9ea2df6c2a2cabedead09f90c3c9bb7b4c37dd1 (diff)
downloadtangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar
tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.gz
tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.bz2
tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.lz
tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.xz
tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.tar.zst
tangerine-wallet-browser-706a6b0ad6d7b6e2d56252f17713e63430d84abc.zip
Add initialized checks for first time flow routes
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 8c3cfee2f..6717b3d67 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -24,10 +24,10 @@ const WalletView = require('./components/wallet-view')
// other views
const Authenticated = require('./components/pages/authenticated')
-const Unauthenticated = require('./components/pages/unauthenticated')
+const Initialized = require('./components/pages/initialized')
const MetamaskRoute = require('./components/pages/metamask-route')
const Settings = require('./components/pages/settings')
-const UnlockPage = require('./components/pages/unauthenticated/unlock')
+const UnlockPage = require('./components/pages/unlock')
const RestoreVaultPage = require('./components/pages/keychains/restore-vault')
const RevealSeedPage = require('./components/pages/keychains/reveal-seed')
const AddTokenPage = require('./components/pages/add-token')
@@ -88,21 +88,21 @@ class App extends Component {
component: InitializeMenuScreen,
mascaraComponent: MascaraCreatePassword,
}),
- h(MetamaskRoute, {
+ h(Initialized, {
path: REVEAL_SEED_ROUTE,
exact,
component: RevealSeedPage,
mascaraComponent: MascaraSeedScreen,
}),
- h(MetamaskRoute, {
+ h(Initialized, {
path: CONFIRM_SEED_ROUTE,
exact,
mascaraComponent: MascaraConfirmSeedScreen,
}),
- h(Unauthenticated, { path: UNLOCK_ROUTE, exact, component: UnlockPage }),
- h(Unauthenticated, { path: SETTINGS_ROUTE, component: Settings }),
- h(Unauthenticated, { path: RESTORE_VAULT_ROUTE, exact, component: RestoreVaultPage }),
- h(Unauthenticated, {
+ h(Initialized, { path: UNLOCK_ROUTE, exact, component: UnlockPage }),
+ h(Initialized, { path: SETTINGS_ROUTE, component: Settings }),
+ h(Initialized, { path: RESTORE_VAULT_ROUTE, exact, component: RestoreVaultPage }),
+ h(Initialized, {
path: NOTICE_ROUTE,
exact,
component: NoticeScreen,