diff --git a/components/CurrencyCard.tsx b/components/CurrencyCard.tsx index 6b68ad0..cf5bc5a 100644 --- a/components/CurrencyCard.tsx +++ b/components/CurrencyCard.tsx @@ -561,10 +561,18 @@ function OISEnhancedBlock({ ratePath }: { ratePath: CBRatePath }) { tickFormatter={(v: number) => `${v}bps`} /> [`${v > 0 ? "+" : ""}${v.toFixed(1)}bps`, "Implied"]} + content={({ label, payload }) => { + if (!payload?.length) return null; + const v = payload[0]?.value as number; + return ( +
+

{label}

+

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

+
+ ); + }} /> {impliedPtsData.map((entry, i) => ( diff --git a/components/NarrativeButton.tsx b/components/NarrativeButton.tsx index cf8640b..af1d239 100644 --- a/components/NarrativeButton.tsx +++ b/components/NarrativeButton.tsx @@ -45,7 +45,10 @@ export default function NarrativeButton({ currency, phase, macroScore }: Props)