diff --git a/components/CurrencyCard.tsx b/components/CurrencyCard.tsx index 7166b0d..15ee642 100644 --- a/components/CurrencyCard.tsx +++ b/components/CurrencyCard.tsx @@ -526,8 +526,8 @@ function OISEnhancedBlock({ ratePath }: { ratePath: CBRatePath }) { tickFormatter={(v: number) => v.toFixed(2)} /> [`${v.toFixed(3)}%`, name === "current" ? "Actuel" : "Sem. préc."]} /> @@ -566,8 +566,8 @@ function OISEnhancedBlock({ ratePath }: { ratePath: CBRatePath }) { const v = payload[0]?.value as number; return (
-

{label}

-

+

{label}

+

Implied : {v > 0 ? "+" : ""}{typeof v === "number" ? v.toFixed(1) : "—"}bps