x-ui-design 0.6.61 → 0.6.62

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
@@ -624,10 +624,6 @@ const useForm = (initialValues = {}, onFieldsChange, onValuesChange, scrollToFir
624
624
  const errorSubscribers = useRef({});
625
625
  const fieldSubscribers = useRef({});
626
626
  const formSubscribers = useRef([]);
627
- // function getFormFields() {
628
- // return formRef.current[stepRef.current]
629
- // // return Object.assign({}, ...Object.values());
630
- // }
631
627
  function getFieldInstance(name) {
632
628
  return name ? fieldInstancesRef.current[name] : fieldInstancesRef.current;
633
629
  }
@@ -637,10 +633,6 @@ const useForm = (initialValues = {}, onFieldsChange, onValuesChange, scrollToFir
637
633
  }
638
634
  function getFieldsValue(nameList) {
639
635
  const formData = formRef.current[stepRef.current];
640
- console.info({
641
- stepRef: stepRef.current,
642
- formRef: formRef.current
643
- });
644
636
  if (!nameList) {
645
637
  return formData;
646
638
  }