fix(web): highlight shared current peak tier
This commit is contained in:
1 parent
b2d438785b
commit
edfb960e97
1 file changed
+8
-2
@@ -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",
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user