@app-studio/web 0.8.14 → 0.8.16

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.
package/dist/web.esm.js CHANGED
@@ -4857,15 +4857,13 @@ var FormikForm = _ref => {
4857
4857
  children,
4858
4858
  autoFocus = false,
4859
4859
  initFocus,
4860
- onChange
4860
+ onChange = () => {}
4861
4861
  } = _ref,
4862
4862
  props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
4863
4863
  var formik = useFormikContext();
4864
4864
  useEffect(() => {
4865
- if (onChange) {
4866
- onChange(formik.values);
4867
- }
4868
- }, [formik.values, onChange]);
4865
+ onChange(formik.values);
4866
+ }, [formik.values]);
4869
4867
  var inputRefs = useRef({});
4870
4868
  var inputNames = useRef([]);
4871
4869
  var setInputRef = (name, ref) => {