eai-frontend-components 2.0.22 → 2.0.23

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
@@ -3337,7 +3337,7 @@ function DataTable({ columns, data, className, title, rowsPage, actions, actions
3337
3337
  }, [pagination]);
3338
3338
  React.useEffect(() => {
3339
3339
  const selectedRowsChecked = selectedRows.map((row) => row.original);
3340
- if (multiRowSelection && selectedRowsChecked.length > 0) {
3340
+ if (multiRowSelection) {
3341
3341
  multiRowSelection.callback(selectedRowsChecked);
3342
3342
  }
3343
3343
  }, [rowSelection]);