Spaces:
Sleeping
Sleeping
Sedin-HarishViswanath commited on
Commit ·
fa1b9fc
1
Parent(s): 3d6d501
Fix field mapping mismatch in Ticker Tape to stop toFixed crash
Browse files20 unmodified lines212223242526272425262728293020 unmodified lines const quotes = await apiGetQuotes(TICKER_SYMBOLS); if (quotes && quotes.length > 0) { const items: TickerItem[] = quotes.map((q: any) => ({ symbol: q.symbol, price: q.value, change: q.change, changePercent: q.changePercent symbol: q.symbol || "Unknown", price: q.price || 0, change: q.change || 0, changePercent: q.changePercent || 0 })); setTickerData(items); }stock-scout-dashboard/src/components/StockTicker.tsx+4-4