diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 13:27:01 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 13:27:01 +0300 |
commit | 31a196a76513df809ee91427129926370de551ba (patch) | |
tree | 9ce14806fd8da9393de27ab3747a700546e6bd86 /src/containers/Service/ServiceForm.tsx | |
parent | 887688bb93b56cf2bd6ec42230912ff7f0513a1d (diff) | |
download | commercel-ui-31a196a76513df809ee91427129926370de551ba.tar.gz |
feat: add useOptions hook
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> ); |