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/package.json
CHANGED
package/src/internal/hooks.ts
CHANGED
@@ -110,7 +110,7 @@ export const useHasActiveFormSubmit = ({
|
|
110
110
|
let navigation = useNavigation();
|
111
111
|
const hasActiveSubmission = fetcher
|
112
112
|
? fetcher.state === "submitting"
|
113
|
-
: navigation.state === "submitting";
|
113
|
+
: navigation.state === "submitting" || navigation.state === "loading";
|
114
114
|
return hasActiveSubmission;
|
115
115
|
};
|
116
116
|
|