mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 02:56:20 -05:00
add missing initial values, remove unnecessary one
This commit is contained in:
parent
ae8f5a1e90
commit
7b076d74c1
2 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue