Skip to content

OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.

Fix: Address Copilot review (use slice for suffix removal, remove unused import)

wenliang394485801b13
diff --git a/components/watchlist/TradingViewWatchlist.tsx b/components/watchlist/TradingViewWatchlist.tsx
index 45b76f6..2427cc7 100644
--- a/components/watchlist/TradingViewWatchlist.tsx
+++ b/components/watchlist/TradingViewWatchlist.tsx
@@ -1,5 +1,6 @@
"use client";
+import React, { useEffect, useRef, memo } from 'react';
import { formatSymbolForTradingView } from '@/lib/utils';
interface TradingViewWatchlistProps {