fix segment control default value

Signed-off-by: c9s <yoanlin93@gmail.com>
This commit is contained in:
c9s 2022-06-27 18:26:26 +08:00
parent 11dacbc2cd
commit 9631a2e551
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -573,6 +573,7 @@ const TradingViewChart = (props: TradingViewChartProps) => {
<div>
<Group>
<SegmentedControl
value={currentInterval}
data={intervals.map((interval) => {
return {label: interval, value: interval}
})}