x-ui-design 0.4.82 → 0.4.84

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/index.esm.js CHANGED
@@ -1012,7 +1012,7 @@ const FormItem$1 = ({
1012
1012
  setFieldInstance(name, fieldRef.current);
1013
1013
  }
1014
1014
  // eslint-disable-next-line react-hooks/exhaustive-deps
1015
- }, [name, rules, fieldRef.current]);
1015
+ }, [name, rules]);
1016
1016
  // eslint-disable-next-line react-hooks/exhaustive-deps
1017
1017
  useEffect(() => () => registerField(name, undefined, true), [name]);
1018
1018
  useEffect(() => {