@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.
- package/build/wrapper/index.js +1 -1
- package/package.json +1 -1
package/build/wrapper/index.js
CHANGED
|
@@ -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
|
|