diff --git a/.betterer.results b/.betterer.results index 976a2137c61..04085bf52f5 100644 --- a/.betterer.results +++ b/.betterer.results @@ -2801,8 +2801,7 @@ exports[`better eslint`] = { [0, 0, 0, "Do not use any type assertions.", "0"] ], "public/app/features/transformers/editors/CalculateFieldTransformerEditor/ReduceRowOptionsEditor.tsx:5381": [ - [0, 0, 0, "\'HorizontalGroup\' import from \'@grafana/ui\' is restricted from being used by a pattern. Use Stack component instead.", "0"], - [0, 0, 0, "Do not use any type assertions.", "1"] + [0, 0, 0, "Do not use any type assertions.", "0"] ], "public/app/features/transformers/editors/CalculateFieldTransformerEditor/WindowOptionsEditor.tsx:5381": [ [0, 0, 0, "Do not use any type assertions.", "0"] diff --git a/public/app/features/transformers/editors/CalculateFieldTransformerEditor/ReduceRowOptionsEditor.tsx b/public/app/features/transformers/editors/CalculateFieldTransformerEditor/ReduceRowOptionsEditor.tsx index 1bf1c21023f..6c5660d8e8d 100644 --- a/public/app/features/transformers/editors/CalculateFieldTransformerEditor/ReduceRowOptionsEditor.tsx +++ b/public/app/features/transformers/editors/CalculateFieldTransformerEditor/ReduceRowOptionsEditor.tsx @@ -1,6 +1,6 @@ import { ReducerID } from '@grafana/data'; import { CalculateFieldTransformerOptions, ReduceOptions } from '@grafana/data/internal'; -import { FilterPill, HorizontalGroup, InlineField, StatsPicker } from '@grafana/ui'; +import { FilterPill, InlineField, Stack, StatsPicker } from '@grafana/ui'; import { t } from 'app/core/internationalization'; import { LABEL_WIDTH } from './constants'; @@ -48,9 +48,9 @@ export const ReduceRowOptionsEditor = (props: { - + {names.map((o, i) => { return ( ); })} - + - + {labelNames.map((o, i) => { const label = o.label!; return (