Skip to content

Commit b6ea13d

Browse files
committed
Bump version to 2.12.1 and update dist files
1 parent 5e4b533 commit b6ea13d

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
@@ -3705,7 +3705,7 @@ class EditorState {
37053705
if (!validation.isValid) throw new Error('Error while creating EditorState: Invalid schema: ' + validation.msg);
37063706
if (typeof data === 'string' && data !== '') data = JSON.parse(data);
37073707

3708-
if (!data && data !== null) {
3708+
if (!data) {
37093709
// create empty data from schema
37103710
data = getBlankData(schema, ref => EditorState.getRef(ref, schema));
37113711
} else {

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
@@ -3699,7 +3699,7 @@ class EditorState {
36993699
if (!validation.isValid) throw new Error('Error while creating EditorState: Invalid schema: ' + validation.msg);
37003700
if (typeof data === 'string' && data !== '') data = JSON.parse(data);
37013701

3702-
if (!data && data !== null) {
3702+
if (!data) {
37033703
// create empty data from schema
37043704
data = getBlankData(schema, ref => EditorState.getRef(ref, schema));
37053705
} else {

dist/react-json-form.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3699,7 +3699,7 @@ class EditorState {
36993699
if (!validation.isValid) throw new Error('Error while creating EditorState: Invalid schema: ' + validation.msg);
37003700
if (typeof data === 'string' && data !== '') data = JSON.parse(data);
37013701

3702-
if (!data && data !== null) {
3702+
if (!data) {
37033703
// create empty data from schema
37043704
data = getBlankData(schema, ref => EditorState.getRef(ref, schema));
37053705
} else {

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.12.0",
3+
"version": "2.12.1",
44
"description": "Create forms using JSON Schema",
55
"publishConfig": {
66
"access": "public"

0 commit comments

Comments
 (0)