Skip to content

Commit

Permalink
Replace render by children
Browse files Browse the repository at this point in the history
This fix zaguiini#11
  • Loading branch information
RodolfoSilva authored Feb 20, 2020
1 parent 0591517 commit 3d31a25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ function FormikWizardStep({
validationSchema={step.validationSchema}
validate={step.validate}
onSubmit={handleSubmit}
render={(props) => (
>
{(props) => (
<Form onSubmit={props.handleSubmit}>
<FormWrapper
{...info}
Expand Down Expand Up @@ -137,7 +138,7 @@ function FormikWizardStep({
</FormWrapper>
</Form>
)}
/>
</Formik>
)
}

Expand Down

0 comments on commit 3d31a25

Please sign in to comment.