Skip to content

Commit 074398b

Browse files
committed
Bump version to 2.13.2 and update dist files
1 parent 2bad1e5 commit 074398b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

dist/react-json-form.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ function findMatchingSubschemaIndex(data, schema, getRef, schemaName) {
547547
if (index === null) {
548548
// still no match found
549549
if (data === null) // for null data, return the first subschema and hope for the best
550-
index = 1;else // for anything else, throw error
550+
index = 0;else // for anything else, throw error
551551
throw new Error("No matching subschema found in '" + schemaName + "' for data '" + data + "' (type: " + dataType + ")");
552552
}
553553

dist/react-json-form.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-json-form.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ function findMatchingSubschemaIndex(data, schema, getRef, schemaName) {
541541
if (index === null) {
542542
// still no match found
543543
if (data === null) // for null data, return the first subschema and hope for the best
544-
index = 1;else // for anything else, throw error
544+
index = 0;else // for anything else, throw error
545545
throw new Error("No matching subschema found in '" + schemaName + "' for data '" + data + "' (type: " + dataType + ")");
546546
}
547547

dist/react-json-form.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ function findMatchingSubschemaIndex(data, schema, getRef, schemaName) {
541541
if (index === null) {
542542
// still no match found
543543
if (data === null) // for null data, return the first subschema and hope for the best
544-
index = 1;else // for anything else, throw error
544+
index = 0;else // for anything else, throw error
545545
throw new Error("No matching subschema found in '" + schemaName + "' for data '" + data + "' (type: " + dataType + ")");
546546
}
547547

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bhch/react-json-form",
3-
"version": "2.13.1",
3+
"version": "2.13.2",
44
"description": "Create forms using JSON Schema",
55
"publishConfig": {
66
"access": "public"

0 commit comments

Comments
 (0)