diff options
Diffstat (limited to 'old-ui')
-rw-r--r-- | old-ui/app/app.js | 9 | ||||
-rw-r--r-- | old-ui/css.js | 1 |
2 files changed, 2 insertions, 8 deletions
diff --git a/old-ui/app/app.js b/old-ui/app/app.js index 2d364ef6f..f694693f5 100644 --- a/old-ui/app/app.js +++ b/old-ui/app/app.js @@ -5,8 +5,7 @@ const h = require('react-hyperscript') const actions = require('../../ui/app/actions') const log = require('loglevel') // mascara -const MascaraFirstTime = require('../../mascara/src/app/first-time').default -const MascaraBuyEtherScreen = require('../../mascara/src/app/first-time/buy-ether-screen').default +const FirstTime = require('../../ui/app/components/pages/first-time-flow').default // init const InitializeMenuScreen = require('./first-time/init-menu') const NewKeyChainScreen = require('./new-keychain') @@ -153,7 +152,7 @@ App.prototype.renderPrimary = function () { const {isMascara, isOnboarding, providerRequests} = props if (isMascara && isOnboarding) { - return h(MascaraFirstTime) + return h(FirstTime) } // notices @@ -270,10 +269,6 @@ App.prototype.renderPrimary = function () { log.debug('rendering buy ether screen') return h(BuyView, {key: 'buyEthView'}) - case 'onboardingBuyEth': - log.debug('rendering onboarding buy ether screen') - return h(MascaraBuyEtherScreen, {key: 'buyEthView'}) - case 'qr': log.debug('rendering show qr screen') return h(AccountQrScreen, { diff --git a/old-ui/css.js b/old-ui/css.js index 21b311c28..043363cd7 100644 --- a/old-ui/css.js +++ b/old-ui/css.js @@ -9,7 +9,6 @@ var cssFiles = { 'lib.css': fs.readFileSync(path.join(__dirname, '/app/css/lib.css'), 'utf8'), 'index.css': fs.readFileSync(path.join(__dirname, '/app/css/index.css'), 'utf8'), 'transitions.css': fs.readFileSync(path.join(__dirname, '/app/css/transitions.css'), 'utf8'), - 'first-time.css': fs.readFileSync(path.join(__dirname, '../mascara/src/app/first-time/index.css'), 'utf8'), 'react-tooltip-component.css': fs.readFileSync(path.join(__dirname, '..', 'node_modules', 'react-tooltip-component', 'dist', 'react-tooltip-component.css'), 'utf8'), 'react-css': fs.readFileSync(path.join(__dirname, '..', 'node_modules', 'react-select', 'dist', 'react-select.css'), 'utf8'), } |