material-react-table-narender 2.13.32 → 2.13.34

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.13.32",
2
+ "version": "2.13.34",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table-narender",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -161,6 +161,8 @@ export const MRT_TableBodyRow = <TData extends MRT_RowData>({
161
161
  : `${darken(baseBackgroundColor, 0.3)}`
162
162
  : undefined;
163
163
 
164
+ console.log('row.id', row);
165
+
164
166
  return (
165
167
  <>
166
168
  <TableRow
@@ -229,6 +231,7 @@ export const MRT_TableBodyRow = <TData extends MRT_RowData>({
229
231
  rowPinningDisplayMode?.includes('sticky') && isRowPinned ? 2 : 0,
230
232
  ...(sx as any),
231
233
  })}
234
+ key={row.id}
232
235
  >
233
236
  {virtualPaddingLeft ? (
234
237
  <td style={{ display: 'flex', width: virtualPaddingLeft }} />
@@ -322,10 +322,11 @@ export const MRT_ColumnActionMenu = <TData extends MRT_RowData>({
322
322
  <MRT_ActionMenuItem
323
323
  icon={<SettingsOutlinedIcon />}
324
324
  key={13}
325
- label={showToolBar ? "Hide ToolBar" : "Show ToolBar"}
325
+ label={showToolBar ? "Hide Toolbar" : "Show Toolbar"}
326
326
  onClick={(e) => {
327
327
  e.stopPropagation();
328
328
  table.setShowToolBar(!showToolBar);
329
+ setAnchorEl(null);
329
330
  }}
330
331
  table={table}
331
332
  />,