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