react-hook-form 7.45.3 → 7.45.4

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.
@@ -568,7 +568,7 @@ function Form(props) {
568
568
  formData.append(name, get(data, name));
569
569
  }
570
570
  if (onSubmit) {
571
- onSubmit({
571
+ await onSubmit({
572
572
  data,
573
573
  event,
574
574
  method,