From c437b414abd1ff620340336cfb36368dc6359b98 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Mon, 16 Dec 2024 09:01:28 -0800
Subject: [PATCH] Enhancement: better display of finnhub tickers with exchange
(#4425)
---
src/components/widgets/stocks/stocks.jsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/widgets/stocks/stocks.jsx b/src/components/widgets/stocks/stocks.jsx
index 8c2c03fd0..4214ef87b 100644
--- a/src/components/widgets/stocks/stocks.jsx
+++ b/src/components/widgets/stocks/stocks.jsx
@@ -51,7 +51,9 @@ export default function Widget({ options }) {
key={stock.ticker}
className="rounded h-full text-xs px-1 w-[4.75rem] flex flex-col items-center justify-center"
>
- {stock.ticker}
+
+ {stock.ticker.split(":").pop()}
+
{!viewingPercentChange ? (