Skip to content

Commit

Permalink
fix: replace paragraph with div in chart tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Jan 28, 2025
1 parent 361a0ec commit bbee98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const ChartTooltipContent = React.forwardRef<
)}
>
{!nestLabel && (
<p className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</p>
<div className="px-2.5 pt-1 mx-auto -mb-1">{!nestLabel ? tooltipLabel : null}</div>
)}

<div
Expand Down

0 comments on commit bbee98b

Please sign in to comment.