From e4bfc2bc5282a22e46053aaaaef1aadedf632cf3 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 12 Jul 2022 18:12:01 +0800 Subject: [PATCH] remove unused state setters --- apps/backtest-report/components/TradingViewChart.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/backtest-report/components/TradingViewChart.tsx b/apps/backtest-report/components/TradingViewChart.tsx index f50535e62..0532127f4 100644 --- a/apps/backtest-report/components/TradingViewChart.tsx +++ b/apps/backtest-report/components/TradingViewChart.tsx @@ -437,7 +437,6 @@ const TradingViewChart = (props: TradingViewChartProps) => { new Date(props.reportSummary.endTime), ] const [selectedTimeRange, setSelectedTimeRange] = useState(reportTimeRange) - const [timeRange, setTimeRange] = useState(reportTimeRange); useEffect(() => { if (!chartContainerRef.current || chartContainerRef.current.children.length > 0) {