File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
static/app/views/aiMonitoring Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,7 @@ export function PipelinesTable() {
119
119
referrer : 'api.ai-pipelines.view' ,
120
120
} ) ;
121
121
122
- const {
123
- data : tokensUsedData ,
124
- error : tokensUsedError ,
125
- isLoading : tokensUsedLoading ,
126
- } = useSpanMetrics ( {
122
+ const { data : tokensUsedData , isLoading : tokensUsedLoading } = useSpanMetrics ( {
127
123
search : new MutableSearch (
128
124
`span.category:ai span.ai.pipeline.group:[${ ( data as Row [ ] ) ?. map ( x => x [ 'span.group' ] ) . join ( ',' ) } ]`
129
125
) ,
@@ -185,7 +181,7 @@ export function PipelinesTable() {
185
181
/>
186
182
< GridEditable
187
183
isLoading = { isLoading }
188
- error = { error ?? tokensUsedError }
184
+ error = { error }
189
185
data = { rows }
190
186
columnOrder = { COLUMN_ORDER }
191
187
columnSortBy = { [
You can’t perform that action at this time.
0 commit comments