@dreamtree-org/twreact-ui 1.0.85 → 1.0.87
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.esm.js +1 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
|
4249
|
+
}, [data]);
|
|
4251
4250
|
|
|
4252
4251
|
// Mobile view detection
|
|
4253
4252
|
React.useEffect(function () {
|