material-react-table 1.3.15 → 1.3.16

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.15",
2
+ "version": "1.3.16",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -38,6 +38,7 @@ export const MRT_ShowHideColumnsMenu = <
38
38
  enableHiding,
39
39
  enablePinning,
40
40
  localization,
41
+ columns,
41
42
  },
42
43
  } = table;
43
44
  const { density, columnOrder, columnPinning } = getState();
@@ -64,6 +65,7 @@ export const MRT_ShowHideColumnsMenu = <
64
65
  }
65
66
  return columns;
66
67
  }, [
68
+ columns,
67
69
  columnOrder,
68
70
  columnPinning,
69
71
  getAllColumns(),