@linzjs/step-ag-grid 2.0.1 → 2.1.0

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/dist/index.js CHANGED
@@ -2415,10 +2415,9 @@ var Grid = function (params) {
2415
2415
  }, [clickSelectorCheckboxWhenContainingCellClicked, params.columnDefs, params.selectable]);
2416
2416
  var onGridReady = react.useCallback(function (event) {
2417
2417
  setGridApi(event.api);
2418
- params.onGridReady && params.onGridReady(event);
2419
2418
  synchroniseExternallySelectedItemsToGrid();
2420
2419
  updateQuickFilter();
2421
- }, [params, setGridApi, synchroniseExternallySelectedItemsToGrid, updateQuickFilter]);
2420
+ }, [setGridApi, synchroniseExternallySelectedItemsToGrid, updateQuickFilter]);
2422
2421
  var noRowsOverlayComponent = react.useCallback(function () { var _a; return jsxRuntime.jsx("span", { children: (_a = params.noRowsOverlayText) !== null && _a !== void 0 ? _a : "There are currently no rows" }); }, [params.noRowsOverlayText]);
2423
2422
  var refreshSelectedRows = react.useCallback(function (event) {
2424
2423
  // Force-refresh all selected rows to re-run class function, to update selection highlighting