remove unused state setters

This commit is contained in:
c9s 2022-07-12 18:12:01 +08:00
parent 92004ed34e
commit e4bfc2bc52
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

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