diff --git a/src/components/QueryEditor.tsx b/src/components/QueryEditor.tsx index 926af26..abac285 100644 --- a/src/components/QueryEditor.tsx +++ b/src/components/QueryEditor.tsx @@ -1,4 +1,4 @@ -import { CodeEditor, InlineField, Stack } from '@grafana/ui'; +import { CodeEditor, Field } from '@grafana/ui'; import { TpDataSourceOptions, TpQuery } from '../types'; import { DataSource } from '../datasource'; @@ -15,18 +15,16 @@ export function QueryEditor({ query, onChange }: Props) { const { sql } = query; return ( - - - - - + + + ); } diff --git a/src/components/VariableQueryEditor.tsx b/src/components/VariableQueryEditor.tsx index ffe412b..e8a0ce0 100644 --- a/src/components/VariableQueryEditor.tsx +++ b/src/components/VariableQueryEditor.tsx @@ -24,8 +24,8 @@ export const VariableQueryEditor = ({ onChange, query }: VariableQueryProps) =>