File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
static/app/views/explore/metrics/metricToolbar Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,22 +96,22 @@ export function AggregateDropdown({traceMetric}: {traceMetric: TraceMetric}) {
9696 return (
9797 < CompositeSelect . Region
9898 key = { groupKey }
99- label = { group . label as string }
99+ label = { group . label }
100100 multiple
101101 options = { group . options }
102102 value = { activeValues }
103- onChange = { ( opts : Array < SelectOption < string > > ) => handleChange ( opts ) }
103+ onChange = { handleChange }
104104 />
105105 ) ;
106106 }
107107
108108 return (
109109 < CompositeSelect . Region
110110 key = { groupKey }
111- label = { group . label as string }
111+ label = { group . label }
112112 options = { group . options }
113- value = { activeValues [ 0 ] as string }
114- onChange = { ( opt : SelectOption < string > ) => handleChange ( [ opt ] ) }
113+ value = { activeValues [ 0 ] }
114+ onChange = { opt => handleChange ( [ opt ] ) }
115115 />
116116 ) ;
117117 } ) }
You can’t perform that action at this time.
0 commit comments