add missing initial values, remove unnecessary one

This commit is contained in:
Ben Wheeler 2019-08-21 14:25:21 +02:00
parent ae8f5a1e90
commit 7b076d74c1
2 changed files with 2 additions and 2 deletions

View file

@ -41,6 +41,8 @@ class EmailStep extends React.Component {
return ( return (
<Formik <Formik
initialValues={{ initialValues={{
email: '',
subscribe: false
}} }}
validate={this.validateForm} validate={this.validateForm}
validateOnBlur={false} validateOnBlur={false}

View file

@ -27,8 +27,6 @@ class WelcomeStep extends React.Component {
render () { render () {
return ( return (
<Formik <Formik
initialValues={{
}}
validate={this.validateForm} validate={this.validateForm}
validateOnBlur={false} validateOnBlur={false}
validateOnChange={false} validateOnChange={false}