Skip to content

Commit

Permalink
fix: react warning
Browse files Browse the repository at this point in the history
  • Loading branch information
namgold committed Sep 14, 2023
1 parent 0f929f4 commit a3d62a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LiveChart/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const LineChart = ({
<Tooltip
contentStyle={{ display: 'none' }}
formatter={(tooltipValue: any, name: string, props: any) => {
setHoverValue(props.payload.value)
setTimeout(() => setHoverValue(props.payload.value))
return ''
}}
cursor={<CustomizedCursor timeFrame={timeFrame} />}
Expand Down

0 comments on commit a3d62a8

Please sign in to comment.