fix: remove explicit type annotations on Recharts callbacks for v3 compat

This commit is contained in:
Celes Renata
2026-04-14 20:40:31 +00:00
parent 916aaff9f3
commit 86808465de
+2 -2
View File
@@ -629,12 +629,12 @@ function TrendHistoryChart({ trends, ticker }: { trends: TrendSummary[]; ticker:
domain={[0, 100]}
tick={{ fill: '#94a3b8', fontSize: 11 }}
tickLine={{ stroke: '#475569' }}
tickFormatter={(v: number) => `${v}%`}
tickFormatter={(v) => `${v}%`}
/>
<Tooltip
contentStyle={{ backgroundColor: '#1e293b', border: '1px solid #334155', borderRadius: '8px' }}
labelStyle={{ color: '#94a3b8' }}
formatter={(value: number, name: string) => [`${value}%`, name]}
formatter={(value, name) => [`${value}%`, name]}
/>
<Legend wrapperStyle={{ color: '#94a3b8', fontSize: 12 }} />
<Line