@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
- if (columnState) {
396
- syncColumnState(_columns, savedColumnState);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.2.24",
3
+ "version": "1.2.26",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",