remix-validated-form 4.5.5 → 4.5.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -2808,8 +2808,8 @@ function ValidatedForm({
2808
2808
  startSubmit();
2809
2809
  const result = await validator.validate(getDataFromForm(e2.currentTarget));
2810
2810
  if (result.error) {
2811
- endSubmit();
2812
2811
  setFieldErrors(result.error.fieldErrors);
2812
+ endSubmit();
2813
2813
  if (!disableFocusOnError) {
2814
2814
  focusFirstInvalidInput(
2815
2815
  result.error.fieldErrors,