Skip to content

Commit

Permalink
remove highlightScop propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Oct 30, 2024
1 parent fc92fbe commit dd3062b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/x-charts/src/PieChart/PieArcPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
ValueWithHighlight,
useTransformData,
} from './dataTransform/useTransformData';
import { useHighlighted } from '../context';

export interface PieArcPlotSlots {
pieArc?: React.JSXElementConstructor<PieArcProps>;
Expand Down Expand Up @@ -95,7 +94,6 @@ function PieArcPlot(props: PieArcPlotProps) {
...defaultTransitionConfig,
immediate: skipAnimation,
});
const { highlightScope } = useHighlighted();

if (data.length === 0) {
return null;
Expand Down Expand Up @@ -133,7 +131,6 @@ function PieArcPlot(props: PieArcPlotProps) {
id={id}
color={item.color}
dataIndex={index}
highlightScope={highlightScope}
isFaded={item.isFaded}
isHighlighted={item.isHighlighted}
onClick={
Expand Down

0 comments on commit dd3062b

Please sign in to comment.