-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
27 lines (24 loc) · 984 Bytes
/
App.tsx
File metadata and controls
27 lines (24 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Controls } from './components/Controls';
import { TradingChart } from './components/TradingChart';
import { StatsModal } from './components/StatsModal';
//import { useBacktestStore } from './store/useBacktestStore';
function App() {
//const symbol = useBacktestStore((state) => state.symbol);
return (
<div className="flex h-screen w-screen overflow-hidden bg-dark-900 font-sans text-slate-300">
<Controls />
<main className="flex-1 flex flex-col relative">
<div className="absolute inset-0 p-4 flex flex-col">
{/* <div className="mb-2 pl-1 shrink-0">
<span className="text-lg font-semibold text-slate-200">{(symbol ?? 'No symbol loaded.')}</span>
</div> */}
<div className="w-full flex-1 border border-dark-700 rounded-xl overflow-hidden shadow-2xl bg-dark-900">
<TradingChart />
</div>
</div>
</main>
<StatsModal />
</div>
);
}
export default App;