diff --git a/app/components/Onboarding/FormContainer.js b/app/components/Onboarding/FormContainer.js index 84ff7ff0..1e5f756b 100644 --- a/app/components/Onboarding/FormContainer.js +++ b/app/components/Onboarding/FormContainer.js @@ -45,6 +45,12 @@ const FormContainer = ({ title, description, back, next, children }) => { } FormContainer.propTypes = { + title: PropTypes.string.isRequired, + description: PropTypes.string.isRequired, + + back: PropTypes.func, + next: PropTypes.func, + children: PropTypes.object.isRequired } diff --git a/app/components/Onboarding/Onboarding.js b/app/components/Onboarding/Onboarding.js index 59d01bc4..cf011ea7 100644 --- a/app/components/Onboarding/Onboarding.js +++ b/app/components/Onboarding/Onboarding.js @@ -3,9 +3,10 @@ import PropTypes from 'prop-types' import Isvg from 'react-inlinesvg' import zapLogo from 'icons/zap_logo.svg' +import LoadingBolt from 'components/LoadingBolt' + import FormContainer from './FormContainer' import Alias from './Alias' -import Syncing from './Syncing' import styles from './Onboarding.scss' @@ -17,8 +18,7 @@ class Onboarding extends Component { alias }, submit, - aliasProps, - syncingProps + aliasProps } = this.props const renderStep = () => { @@ -35,7 +35,7 @@ class Onboarding extends Component { ) default: - return + return } } @@ -48,7 +48,9 @@ class Onboarding extends Component { } Onboarding.propTypes = { - syncingProps: PropTypes.object.isRequired + onboarding: PropTypes.object.isRequired, + aliasProps: PropTypes.object.isRequired, + submit: PropTypes.func.isRequired } export default Onboarding diff --git a/app/containers/Root.js b/app/containers/Root.js index 9e96c1bc..3bc35d4b 100644 --- a/app/containers/Root.js +++ b/app/containers/Root.js @@ -66,7 +66,6 @@ const Root = ({ onboarding={onboarding} submit={submit} aliasProps={aliasProps} - syncingProps={syncingProps} /> ) }