@juantroconisf/lib 3.2.4 → 3.2.5
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -199,7 +199,6 @@ function useFormChange({
|
|
|
199
199
|
isInvalid: false,
|
|
200
200
|
errorMessage: ""
|
|
201
201
|
};
|
|
202
|
-
if (requirements === void 0) return props;
|
|
203
202
|
const [ui] = [
|
|
204
203
|
{
|
|
205
204
|
ref: errors2,
|
|
@@ -223,6 +222,7 @@ function useFormChange({
|
|
|
223
222
|
});
|
|
224
223
|
return req;
|
|
225
224
|
});
|
|
225
|
+
if (requirements === void 0) return props;
|
|
226
226
|
return {
|
|
227
227
|
...props,
|
|
228
228
|
isInvalid: !ui.isValid,
|
package/dist/index.mjs
CHANGED
|
@@ -180,7 +180,6 @@ function useFormChange({
|
|
|
180
180
|
isInvalid: false,
|
|
181
181
|
errorMessage: ""
|
|
182
182
|
};
|
|
183
|
-
if (requirements === void 0) return props;
|
|
184
183
|
const [ui] = [
|
|
185
184
|
{
|
|
186
185
|
ref: errors2,
|
|
@@ -204,6 +203,7 @@ function useFormChange({
|
|
|
204
203
|
});
|
|
205
204
|
return req;
|
|
206
205
|
});
|
|
206
|
+
if (requirements === void 0) return props;
|
|
207
207
|
return {
|
|
208
208
|
...props,
|
|
209
209
|
isInvalid: !ui.isValid,
|