From dfcab0828808c9033ddbe23e5b375baf79e5144f Mon Sep 17 00:00:00 2001 From: severinlandolt Date: Thu, 16 May 2024 17:12:00 +0200 Subject: [PATCH] fix onclick dot --- src/components/LineChart/LineChart.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/LineChart/LineChart.tsx b/src/components/LineChart/LineChart.tsx index 68271b6..515619b 100644 --- a/src/components/LineChart/LineChart.tsx +++ b/src/components/LineChart/LineChart.tsx @@ -757,10 +757,7 @@ const LineChart = React.forwardRef( strokeLinecap={strokeLinecap} strokeLinejoin={strokeLinejoin} strokeWidth={strokeWidth} - onClick={( - dotProps: any, //@sev - event, - ) => onDotClick(props, event)} + onClick={(_, event) => onDotClick(props, event)} /> ) }}