diff options
Diffstat (limited to 'mascara/src/app/first-time/import-account-screen.js')
-rw-r--r-- | mascara/src/app/first-time/import-account-screen.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mascara/src/app/first-time/import-account-screen.js b/mascara/src/app/first-time/import-account-screen.js index a7af42cd7..944d8d544 100644 --- a/mascara/src/app/first-time/import-account-screen.js +++ b/mascara/src/app/first-time/import-account-screen.js @@ -1,7 +1,8 @@ import React, {Component, PropTypes} from 'react' +import {connect} from 'react-redux'; import classnames from 'classnames' +import LoadingScreen from './loading-screen' import {importNewAccount, hideWarning} from '../../../../ui/app/actions' -import {connect} from 'react-redux'; const Input = ({ label, placeholder, onChange, errorMessage, type = 'text' }) => ( <div className="import-account__input-wrapper"> @@ -132,7 +133,9 @@ class ImportAccountScreen extends Component { const { OPTIONS } = ImportAccountScreen; const { selectedOption } = this.state; - return ( + return isLoading + ? <LoadingScreen loadingMessage="Creating your new account" /> + : ( <div className="import-account"> <a className="import-account__back-button" |