@insticc/react-datagrid-2 1.0.34 → 1.0.35

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.
@@ -104,7 +104,7 @@ var DataGrid = function DataGrid(_ref) {
104
104
  setOpen = _useState8[1];
105
105
  //optionally access the underlying virtualizer instance
106
106
  var rowVirtualizerInstanceRef = (0, _react.useRef)(null);
107
- if (gridHelper && (gridHelper.content || !gridHelper.title)) {
107
+ if (gridHelper && (!gridHelper.content || !gridHelper.title)) {
108
108
  throw new Error("The 'gridHelper' prop object is expected to contain both 'title' and 'content' properties. Ensure that both are provided if 'gridHelper' is defined.");
109
109
  }
110
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insticc/react-datagrid-2",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "scripts": {