From ee70dc3f7c77dae9404c91b8489670004da5474e Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 7 Jun 2022 22:33:50 +0800 Subject: [PATCH] backtest: add more react fix --- apps/backtest-report/components/ReportDetails.tsx | 4 +--- apps/backtest-report/components/TradingViewChart.tsx | 1 + apps/backtest-report/pages/index.tsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/backtest-report/components/ReportDetails.tsx b/apps/backtest-report/components/ReportDetails.tsx index 5cd0b72e3..5e7ef122e 100644 --- a/apps/backtest-report/components/ReportDetails.tsx +++ b/apps/backtest-report/components/ReportDetails.tsx @@ -111,11 +111,9 @@ function StatsGridIcons({data}: StatsGridIconsProps) { }); return ( -
- + {stats} -
); } diff --git a/apps/backtest-report/components/TradingViewChart.tsx b/apps/backtest-report/components/TradingViewChart.tsx index c3153d722..5fd4d6c79 100644 --- a/apps/backtest-report/components/TradingViewChart.tsx +++ b/apps/backtest-report/components/TradingViewChart.tsx @@ -134,6 +134,7 @@ interface Order { status: string; update_time: Date; creation_time: Date; + time?: Date; } interface Marker { diff --git a/apps/backtest-report/pages/index.tsx b/apps/backtest-report/pages/index.tsx index 2e9b44e07..7858995cf 100644 --- a/apps/backtest-report/pages/index.tsx +++ b/apps/backtest-report/pages/index.tsx @@ -22,7 +22,7 @@ const Home: NextPage = () => {
{