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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  });