Skip to content

Commit 53d388c

Browse files
committed
fix
1 parent 4f8d374 commit 53d388c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/x-charts-premium/src/ScatterChartPremium/HighlightedScatterMark.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function HighlightedScatterMark(props: React.SVGAttributes<SVGCircleEleme
2424
const { yAxis, yAxisIds } = useYAxes();
2525

2626
if (
27-
highlightedItem === null ||
27+
!highlightedItem ||
2828
highlightedItem.type !== 'scatter' ||
2929
highlightedItem.dataIndex === undefined ||
3030
!scatterSeries

0 commit comments

Comments
 (0)