From e9efbdfc35aff049beceb77a6e8158e8485dbcae Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sat, 19 Dec 2020 21:54:04 +0000 Subject: [PATCH] enabled plot, enabled positions table --- websrc/components/App.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/websrc/components/App.tsx b/websrc/components/App.tsx index ffe859b..9bd625f 100644 --- a/websrc/components/App.tsx +++ b/websrc/components/App.tsx @@ -6,6 +6,8 @@ import {symbolToPair} from "../utils"; import {Helmet} from "react-helmet"; import {Navbar, Sidebar} from "./Navbars"; import {Statusbar} from "./Statusbar"; +import {PositionsTable} from "./Tables"; +import RPlot from "./RPlot"; type AppState = { current_price: number, @@ -93,10 +95,11 @@ class App extends Component<{}, AppState> {
- {/**/} +
+ {this.state.positions.length > 0 ? : null}