From dfec7587305fee59f8304000994ca16a495f7389 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Mon, 29 Jun 2026 01:41:22 -0700 Subject: feat: update financial overview components --- frontend/components/prism/PriceVsValueCard.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend/components/prism/PriceVsValueCard.tsx') diff --git a/frontend/components/prism/PriceVsValueCard.tsx b/frontend/components/prism/PriceVsValueCard.tsx index cf5a3c7..5d9291c 100644 --- a/frontend/components/prism/PriceVsValueCard.tsx +++ b/frontend/components/prism/PriceVsValueCard.tsx @@ -48,8 +48,8 @@ export function PriceVsValueCard({ overview, valuation, valState }: Props) { : `Trading at ${Math.abs(pct).toFixed(1)}% discount to DCF`; const [leftLabel, rightLabel] = isPremium - ? [`IV ${fmtCurrency(iv)}`, `Price ${fmtCurrency(price)}`] - : [`Price ${fmtCurrency(price)}`, `IV ${fmtCurrency(iv)}`]; + ? [`IV ${fmtCurrency(iv, 2, valuation?.currency ?? overview.currency)}`, `Price ${fmtCurrency(price, 2, overview.currency)}`] + : [`Price ${fmtCurrency(price, 2, overview.currency)}`, `IV ${fmtCurrency(iv, 2, valuation?.currency ?? overview.currency)}`]; return (
@@ -60,9 +60,9 @@ export function PriceVsValueCard({ overview, valuation, valState }: Props) {
- {fmtCurrency(price)} + {fmtCurrency(price, 2, overview.currency)} - IV {fmtCurrency(iv)} + IV {fmtCurrency(iv, 2, valuation?.currency ?? overview.currency)}
-- cgit v1.3-2-g0d8e