Skip to content

Commit a70c3f4

Browse files
committed
[charts] Fix missing key
1 parent 335c5f5 commit a70c3f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/x-charts/src/BarChart/BarPlot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function BarPlot(props: BarPlotProps) {
268268
})}
269269
{completedData.map(({ seriesId, data }) => {
270270
return (
271-
<g data-series={seriesId} className={classes.series}>
271+
<g data-series={seriesId} key={seriesId} className={classes.series}>
272272
{data.map(
273273
({ dataIndex, color, maskId, layout, x, xOrigin, y, yOrigin, width, height }) => {
274274
const barElement = (

0 commit comments

Comments
 (0)