Skip to content

Commit

Permalink
Stop passing data grid density as table key
Browse files Browse the repository at this point in the history
  • Loading branch information
davismcphee committed Dec 1, 2024
1 parent 0854996 commit 83e67b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/kbn-unified-data-table/src/components/data_table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1155,8 +1155,6 @@ export const UnifiedDataTable = ({
/>
) : (
<EuiDataGridMemoized
// Using this as the `key` is a workaround for https://github.com/elastic/eui/issues/7962. This forces a re-render if the density is changed.
key={dataGridDensity}
id={dataGridId}
aria-describedby={randomId}
aria-labelledby={ariaLabelledBy}
Expand Down

0 comments on commit 83e67b9

Please sign in to comment.