We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 126c83f commit 5c19f70Copy full SHA for 5c19f70
1 file changed
packages/app/src/components/ui/chart-legend-item.tsx
@@ -26,8 +26,8 @@ const ChartLegendItem: React.FC<CommonLegendItemProps> = ({
26
title,
27
isActive,
28
onClick,
29
- onHover,
30
- onHoverEnd,
+ onHover: _onHover,
+ onHoverEnd: _onHoverEnd,
31
hw,
32
isHighlighted,
33
asFragment = false,
@@ -53,8 +53,6 @@ const ChartLegendItem: React.FC<CommonLegendItemProps> = ({
53
isLegendExpanded ? 'w-fit whitespace-nowrap' : '',
54
)}
55
title={!isLegendExpanded && isLongText ? label : title}
56
- onMouseEnter={onHover && isActive ? () => onHover(hw || name) : undefined}
57
- onMouseLeave={onHoverEnd}
58
>
59
<span
60
className="inline-block w-3 h-3 rounded-full mr-2 flex-shrink-0 transition-opacity"
0 commit comments