@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.
@@ -4851,15 +4851,13 @@
4851
4851
  children,
4852
4852
  autoFocus = false,
4853
4853
  initFocus,
4854
- onChange
4854
+ onChange = () => {}
4855
4855
  } = _ref,
4856
4856
  props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
4857
4857
  var formik$1 = formik.useFormikContext();
4858
4858
  React.useEffect(() => {
4859
- if (onChange) {
4860
- onChange(formik$1.values);
4861
- }
4862
- }, [formik$1.values, onChange]);
4859
+ onChange(formik$1.values);
4860
+ }, [formik$1.values]);
4863
4861
  var inputRefs = React.useRef({});
4864
4862
  var inputNames = React.useRef([]);
4865
4863
  var setInputRef = (name, ref) => {