remix-validated-form 5.0.1 → 5.0.2
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/.turbo/turbo-build.log +7 -7
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/internal/hooks.ts +1 -1
package/dist/index.esm.js
CHANGED
@@ -1147,7 +1147,7 @@ var useHasActiveFormSubmit = ({
|
|
1147
1147
|
fetcher
|
1148
1148
|
}) => {
|
1149
1149
|
let navigation = useNavigation();
|
1150
|
-
const hasActiveSubmission = fetcher ? fetcher.state === "submitting" : navigation.state === "submitting";
|
1150
|
+
const hasActiveSubmission = fetcher ? fetcher.state === "submitting" : navigation.state === "submitting" || navigation.state === "loading";
|
1151
1151
|
return hasActiveSubmission;
|
1152
1152
|
};
|
1153
1153
|
var useFieldTouched = (field, { formId }) => {
|