@overmap-ai/core 1.0.28-integrate-forms.4 → 1.0.28-integrate-forms.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9647,7 +9647,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9647
9647
|
const { name, render } = props;
|
|
9648
9648
|
const { submitForm } = formik.useFormikContext();
|
|
9649
9649
|
const [fieldProps, _meta, helpers] = formik.useField(name);
|
|
9650
|
-
React.useMemo(() => {
|
|
9650
|
+
const ret = React.useMemo(() => {
|
|
9651
9651
|
const setValue = (value) => {
|
|
9652
9652
|
void helpers.setValue(value, false);
|
|
9653
9653
|
};
|
|
@@ -9659,7 +9659,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9659
9659
|
}
|
|
9660
9660
|
});
|
|
9661
9661
|
}, [submitForm, helpers, fieldProps.value, render]);
|
|
9662
|
-
return
|
|
9662
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: ret });
|
|
9663
9663
|
});
|
|
9664
9664
|
PatchField.displayName = "PatchField";
|
|
9665
9665
|
const PatchFormProvider = React.memo(
|