diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index 435c20e..aec1070 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -66,13 +66,11 @@ export default function App() {
-
- {selectedSymbol && (
- setSelectedSymbol(null)}
- />
- )}
+ setSelectedSymbol(null)}
+ />
diff --git a/frontend/src/components/dashboard/MarketScreenerPanel.jsx b/frontend/src/components/dashboard/MarketScreenerPanel.jsx
index a95170c..f0161ab 100644
--- a/frontend/src/components/dashboard/MarketScreenerPanel.jsx
+++ b/frontend/src/components/dashboard/MarketScreenerPanel.jsx
@@ -1,5 +1,6 @@
import { useState, useEffect, useCallback, useRef } from 'react';
import MacroIndicatorsPanel from './MacroIndicatorsPanel';
+import StockDetailPanel from './StockDetailPanel';
const API_BASE = import.meta.env.VITE_API_URL || '';
@@ -203,7 +204,7 @@ function SearchBar({ onResult, onClear }) {
}
// ─── Main Component ───────────────────────────────────────────────────────────
-export default function MarketScreenerPanel({ onSelectSymbol }) {
+export default function MarketScreenerPanel({ selectedSymbol, onSelectSymbol, onCloseSymbol }) {
const [screenerData, setScreenerData] = useState(null);
const [leaderboard, setLeaderboard] = useState(null);
const [loading, setLoading] = useState(true);
@@ -308,6 +309,15 @@ export default function MarketScreenerPanel({ onSelectSymbol }) {
+ {selectedSymbol && (
+
+
+
+ )}
+
{/* ─── Factor Grid ─────────────────────────────────────────────────── */}