react-hook-form 7.55.0-next.0 → 7.55.0-next.1

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.
@@ -2627,7 +2627,7 @@ function useForm(props = {}) {
2627
2627
  });
2628
2628
  if (!_formControl.current) {
2629
2629
  _formControl.current = {
2630
- ...(props.control ? props.control : createFormControl(props)),
2630
+ ...(props.formControl ? props.formControl : createFormControl(props)),
2631
2631
  formState,
2632
2632
  };
2633
2633
  }