Skip to content

Commit

Permalink
destruct params
Browse files Browse the repository at this point in the history
Co-authored-by: Bilal Shafi <[email protected]>
Signed-off-by: Armin Mehinovic <[email protected]>
  • Loading branch information
arminmeh and MBilalShafi committed Sep 11, 2024
1 parent 16ad8e7 commit ae67fd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export const GRID_DETAIL_PANEL_TOGGLE_COL_DEF: GridColDef = {
return expandedRowIds.includes(rowId);
},
renderCell: (params) => <GridDetailPanelToggleCell {...params} />,
renderHeader: (params) => <div aria-label={params.colDef.headerName} />,
renderHeader: ({ colDef }) => <div aria-label={colDef.headerName} />,
};

0 comments on commit ae67fd4

Please sign in to comment.