aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/app/first-time/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'mascara/src/app/first-time/index.js')
-rw-r--r--mascara/src/app/first-time/index.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/mascara/src/app/first-time/index.js b/mascara/src/app/first-time/index.js
index 883342d16..a05e0aa96 100644
--- a/mascara/src/app/first-time/index.js
+++ b/mascara/src/app/first-time/index.js
@@ -7,7 +7,7 @@ import NoticeScreen from './notice-screen'
import BackupPhraseScreen from './backup-phrase-screen'
import ImportAccountScreen from './import-account-screen'
import ImportSeedPhraseScreen from './import-seed-phrase-screen'
-const Loading = require('../../../../ui/app//components/loading')
+const Loading = require('../../../../ui/app/components/loading')
import {
onboardingBuyEthView,
unMarkPasswordForgotten,
@@ -86,10 +86,11 @@ class FirstTimeFlow extends Component {
restoreCreatePasswordScreen,
forgottenPassword,
isLoading,
+ leaveImportSeedScreenState,
} = this.props
if (isLoading) {
- return h(Loading)
+ return (<Loading />)
}
switch (this.state.screenType) {
@@ -112,7 +113,7 @@ class FirstTimeFlow extends Component {
return (
<ImportSeedPhraseScreen
back={() => {
- leaveImportSeedSreenState()
+ leaveImportSeedScreenState()
this.setScreenType(SCREEN_TYPE.CREATE_PASSWORD)
}}
next={() => {
@@ -175,7 +176,7 @@ export default connect(
isLoading,
}),
dispatch => ({
- leaveImportSeedSreenState: () => dispatch(unMarkPasswordForgotten()),
+ leaveImportSeedScreenState: () => dispatch(unMarkPasswordForgotten()),
goToBuyEtherView: address => dispatch(onboardingBuyEthView(address)),
})
)(FirstTimeFlow)