diff --git a/public/app/core/components/TagFilter/TagOption.tsx b/public/app/core/components/TagFilter/TagOption.tsx index c7ad15fcb18..4227a4b16b1 100644 --- a/public/app/core/components/TagFilter/TagOption.tsx +++ b/public/app/core/components/TagFilter/TagOption.tsx @@ -19,7 +19,7 @@ export const TagOption: FC = ({ data, className, label, isF return (
- + {typeof label === 'string' ? : label}
); diff --git a/public/app/plugins/datasource/grafana/components/AnnotationQueryEditor.tsx b/public/app/plugins/datasource/grafana/components/AnnotationQueryEditor.tsx index abe916bef24..477d282fa61 100644 --- a/public/app/plugins/datasource/grafana/components/AnnotationQueryEditor.tsx +++ b/public/app/plugins/datasource/grafana/components/AnnotationQueryEditor.tsx @@ -66,8 +66,6 @@ export default function AnnotationQueryEditor({ query, onChange }: Props) { tags, }); - const onFormatCreateLabel = (input: string) => `Use custom value: ${input}`; - return (
@@ -95,7 +93,6 @@ export default function AnnotationQueryEditor({ query, onChange }: Props) {