diff --git a/apps/web/src/components/TierHistoryChart.tsx b/apps/web/src/components/TierHistoryChart.tsx index 7d6c11df..3e3e7f09 100644 --- a/apps/web/src/components/TierHistoryChart.tsx +++ b/apps/web/src/components/TierHistoryChart.tsx @@ -530,13 +530,19 @@ export default function TierHistoryChart({ r={3} stroke="currentColor" fill="currentColor" - className="text-primary" + className={ + isSamePoint(summary.peak, summary.last) + ? "text-amber-400" + : "text-primary" + } label={{ value: formatTierCompactLabel(summary.last), position: "top", fill: "currentColor", fontSize: 10, - className: "text-primary", + className: isSamePoint(summary.peak, summary.last) + ? "text-amber-400" + : "text-primary", }} />