@dreamtree-org/twreact-ui 1.0.86 → 1.0.88

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
@@ -4243,11 +4243,10 @@ var Table = function Table(_ref2) {
4243
4243
 
4244
4244
  // Single effect for data sync (consolidated from 3 effects)
4245
4245
  React.useEffect(function () {
4246
- if (serverSide || onFetch) return;
4247
4246
  if (Array.isArray(data)) {
4248
4247
  setTableData(data);
4249
4248
  }
4250
- }, [data, serverSide, onFetch]);
4249
+ }, [data]);
4251
4250
 
4252
4251
  // Mobile view detection
4253
4252
  React.useEffect(function () {
@@ -4490,7 +4489,7 @@ var Table = function Table(_ref2) {
4490
4489
  limit: limit,
4491
4490
  sort: sortConfig
4492
4491
  });
4493
- }, [onFetch, filters, currentPage, limit, sortConfig]);
4492
+ }, [filters, currentPage, limit, sortConfig]);
4494
4493
 
4495
4494
  // Sync searchInput with filters.global
4496
4495
  React.useEffect(function () {