@monolith-forensics/monolith-ui 1.2.24 → 1.2.25
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,8 @@ 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
|
+
syncColumnState(_columns, savedColumnState);
|
|
396
|
+
}, [_columns]);
|
|
399
397
|
useEffect(() => {
|
|
400
398
|
var _a;
|
|
401
399
|
(_a = props.onColumnStateChange) === null || _a === void 0 ? void 0 : _a.call(props, columnState);
|