feat: Enhance analysis view and market ticker

Adds a "View History" button to the AnalysisView, allowing users to navigate directly to the signal history.
Updates the MarketTicker component to fetch real-time data from Binance, displaying a dynamic list of cryptocurrency and forex tickers.
This commit is contained in:
desartstudio95
2026-05-07 19:02:04 +02:00
parent 30cf7ce1dc
commit 15b618dda3
3 changed files with 68 additions and 32 deletions
+1 -1
View File
@@ -619,7 +619,7 @@ export default function App() {
exit={{ opacity: 0, x: -15 }}
transition={{ duration: 0.25, ease: 'easeOut' }}
>
{activeTab === 'scan' && <AnalysisView userData={userData} />}
{activeTab === 'scan' && <AnalysisView userData={userData} onGoToHistory={() => setActiveTab('history')} />}
{activeTab === 'history' && <SignalHistory />}
{activeTab === 'stats' && <DashboardStats />}
{activeTab === 'profile' && <ProfileView user={user} userData={userData} onUpdate={setUserData} onDeleted={handleLogout} />}