@juantroconisf/lib 3.1.5 → 3.1.6

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
@@ -188,7 +188,7 @@ function useFormChange({
188
188
  handleNestedChange({
189
189
  state,
190
190
  id,
191
- value: Array.from(value)
191
+ value: value === "string" ? value : Array.from(value)
192
192
  })
193
193
  );
194
194
  const registerHandle = (0, import_react.useCallback)(
package/dist/index.mjs CHANGED
@@ -169,7 +169,7 @@ function useFormChange({
169
169
  handleNestedChange({
170
170
  state,
171
171
  id,
172
- value: Array.from(value)
172
+ value: value === "string" ? value : Array.from(value)
173
173
  })
174
174
  );
175
175
  const registerHandle = useCallback(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juantroconisf/lib",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",