@monolith-forensics/monolith-ui 1.2.24 → 1.2.26
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.
|
@@ -392,10 +392,9 @@ const TableProvider = (_a) => {
|
|
|
392
392
|
};
|
|
393
393
|
// sync column state with columns when columns change length
|
|
394
394
|
useEffect(() => {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
}, [_columns.length]);
|
|
395
|
+
console.log("columns changed");
|
|
396
|
+
syncColumnState(_columns, savedColumnState);
|
|
397
|
+
}, [columns]);
|
|
399
398
|
useEffect(() => {
|
|
400
399
|
var _a;
|
|
401
400
|
(_a = props.onColumnStateChange) === null || _a === void 0 ? void 0 : _a.call(props, columnState);
|