@juantroconisf/lib 3.6.1 → 3.6.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/dist/index.js CHANGED
@@ -347,7 +347,7 @@ function useForm(initialState, { validations, errorMessages } = {}) {
347
347
  errorMessage: isTouched ? inputError.errorMessage : ""
348
348
  };
349
349
  },
350
- [errors2.current, touched.current]
350
+ [errors2, touched]
351
351
  );
352
352
  const onBlur = (id) => setTouched(
353
353
  (prev) => handleNestedChange({
package/dist/index.mjs CHANGED
@@ -327,7 +327,7 @@ function useForm(initialState, { validations, errorMessages } = {}) {
327
327
  errorMessage: isTouched ? inputError.errorMessage : ""
328
328
  };
329
329
  },
330
- [errors2.current, touched.current]
330
+ [errors2, touched]
331
331
  );
332
332
  const onBlur = (id) => setTouched(
333
333
  (prev) => handleNestedChange({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juantroconisf/lib",
3
- "version": "3.6.1",
3
+ "version": "3.6.2",
4
4
  "description": "A state and validation library for HeroUI.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",