mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
remove unused state setters
This commit is contained in:
parent
92004ed34e
commit
e4bfc2bc52
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user