Skip to content

Commit

Permalink
refactor the code
Browse files Browse the repository at this point in the history
Signed-off-by: schakrad <[email protected]>
  • Loading branch information
schakrad committed Oct 24, 2023
1 parent 294df98 commit 1771d02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export const TimeSeriesChart = ({
{XAxisMemo}
{YAxisMemo}
{TooltipMemo}
{(data?.length > 0 && !isLabelHovered) ? LegendMemo : null}
{((data?.length > 0) && !isLabelHovered) ? LegendMemo : null}
{data?.map((d: any, i: number) => {
return (
<Line
Expand Down

0 comments on commit 1771d02

Please sign in to comment.