Skip to content

Commit

Permalink
fix onclick dot
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed May 16, 2024
1 parent ec2fc7f commit dfcab08
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/LineChart/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -757,10 +757,7 @@ const LineChart = React.forwardRef<HTMLDivElement, LineChartProps>(
strokeLinecap={strokeLinecap}
strokeLinejoin={strokeLinejoin}
strokeWidth={strokeWidth}
onClick={(
dotProps: any, //@sev
event,
) => onDotClick(props, event)}
onClick={(_, event) => onDotClick(props, event)}
/>
)
}}
Expand Down

0 comments on commit dfcab08

Please sign in to comment.