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) {