@jspreadsheet/react 11.0.0-beta.8 → 11.0.0-beta.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ const Spreadsheet = React.forwardRef((props, mainReference) => {
39
39
  // Extract worksheet options
40
40
  extractWorksheetProperties.call(options, v.props);
41
41
  });
42
- } else {
42
+ } else if (props.children) {
43
43
  // Extract worksheet options
44
44
  extractWorksheetProperties.call(options, props.children.props);
45
45
  }
package/package.json CHANGED
@@ -24,5 +24,5 @@
24
24
  },
25
25
  "main": "dist/index.js",
26
26
  "types": "dist/index.d.ts",
27
- "version": "11.0.0-beta.8"
27
+ "version": "11.0.0-beta.9"
28
28
  }