@luminati-io/uikit 3.3.5-beta.2 → 3.3.5

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.
@@ -43536,7 +43536,9 @@ function reducer(state, action, _previousState, instance) {
43536
43536
  if (onSelectRows) {
43537
43537
  // if (action.type === actions.resetSelectedRows)
43538
43538
  if (action.type == react_table__WEBPACK_IMPORTED_MODULE_1__.actions.toggleAllRowsSelected || action.type == react_table__WEBPACK_IMPORTED_MODULE_1__.actions.toggleRowSelected || action.type == react_table__WEBPACK_IMPORTED_MODULE_1__.actions.toggleAllPageRowsSelected) {
43539
- onSelectRows(state.selectedRowIds);
43539
+ setTimeout(function () {
43540
+ onSelectRows(state.selectedRowIds);
43541
+ }, 0);
43540
43542
  }
43541
43543
  }
43542
43544
  return state;
@@ -43545,7 +43547,6 @@ var useInstance = function useInstance(instance) {
43545
43547
  var dispatch = instance.dispatch,
43546
43548
  initialState = instance.initialState;
43547
43549
  (0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useDidUpdate)(function () {
43548
- console.log('did update', initialState.selectedRowIds);
43549
43550
  dispatch({
43550
43551
  type: react_table__WEBPACK_IMPORTED_MODULE_1__.actions.resetSelectedRows
43551
43552
  });