mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Merge pull request #3281 from benjiwheeler/join-flow-email-initial
add missing initial values, remove unnecessary one
This commit is contained in:
commit
433f7ebd2f
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