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 (
|
||||
<Formik
|
||||
initialValues={{
|
||||
email: '',
|
||||
subscribe: false
|
||||
}}
|
||||
validate={this.validateForm}
|
||||
validateOnBlur={false}
|
||||
|
|
|
@ -27,8 +27,6 @@ class WelcomeStep extends React.Component {
|
|||
render () {
|
||||
return (
|
||||
<Formik
|
||||
initialValues={{
|
||||
}}
|
||||
validate={this.validateForm}
|
||||
validateOnBlur={false}
|
||||
validateOnChange={false}
|
||||
|
|
Loading…
Reference in a new issue