diff options
Diffstat (limited to 'src/containers/Service/ServiceForm.tsx')
-rw-r--r-- | src/containers/Service/ServiceForm.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/containers/Service/ServiceForm.tsx b/src/containers/Service/ServiceForm.tsx index 62e4521..e2dfef6 100644 --- a/src/containers/Service/ServiceForm.tsx +++ b/src/containers/Service/ServiceForm.tsx @@ -35,9 +35,8 @@ const ServiceForm: React.FC = () => { <Formik initialValues={_.defaults(item, service.default)} onSubmit={onSubmit} - > - <service.Form /> - </Formik> + children={service.Form} + /> )} </Page> ); |