remix-hook-form
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -11,3 +11,3 @@ // src/utilities/index.ts | ||
const json = JSON.parse(jsonString); | ||
if (typeof json === "object") { | ||
if (typeof json === "object" || typeof json === "boolean" || typeof json === "string") { | ||
return json; | ||
@@ -14,0 +14,0 @@ } |
{ | ||
"name": "remix-hook-form", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Utility wrapper around react-hook-form for use with Remix.run", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
48696