remix-validated-form 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,12 +7,12 @@
7
7
  CLI Cleaning output folder
8
8
  ESM Build start
9
9
  CJS Build start
10
- ESM dist/index.esm.js 60.30 KB
11
- ESM dist/index.esm.js.map 130.77 KB
12
- ESM ⚡️ Build success in 23ms
13
- CJS dist/index.cjs.js 63.04 KB
14
- CJS dist/index.cjs.js.map 130.88 KB
15
- CJS ⚡️ Build success in 25ms
10
+ ESM dist/index.esm.js 60.34 KB
11
+ ESM dist/index.esm.js.map 130.83 KB
12
+ ESM ⚡️ Build success in 25ms
13
+ CJS dist/index.cjs.js 63.08 KB
14
+ CJS dist/index.cjs.js.map 130.93 KB
15
+ CJS ⚡️ Build success in 26ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 1569ms
17
+ DTS ⚡️ Build success in 1549ms
18
18
  DTS dist/index.d.ts 12.81 KB
package/dist/index.cjs.js CHANGED
@@ -1190,7 +1190,7 @@ var useHasActiveFormSubmit = ({
1190
1190
  fetcher
1191
1191
  }) => {
1192
1192
  let navigation = (0, import_react2.useNavigation)();
1193
- const hasActiveSubmission = fetcher ? fetcher.state === "submitting" : navigation.state === "submitting";
1193
+ const hasActiveSubmission = fetcher ? fetcher.state === "submitting" : navigation.state === "submitting" || navigation.state === "loading";
1194
1194
  return hasActiveSubmission;
1195
1195
  };
1196
1196
  var useFieldTouched = (field, { formId }) => {