diff --git a/packages/grafana-ui/src/components/DataSourceSettings/CertificationKey.tsx b/packages/grafana-ui/src/components/DataSourceSettings/CertificationKey.tsx index 1b8406ca8ff..56e238464a8 100644 --- a/packages/grafana-ui/src/components/DataSourceSettings/CertificationKey.tsx +++ b/packages/grafana-ui/src/components/DataSourceSettings/CertificationKey.tsx @@ -3,6 +3,7 @@ import { Input } from '../Input/Input'; import { Button } from '../Button'; import { TextArea } from '../TextArea/TextArea'; import { InlineField } from '../Forms/InlineField'; +import { InlineFieldRow } from '../Forms/InlineFieldRow'; interface Props { label: string; @@ -15,17 +16,19 @@ interface Props { export const CertificationKey: FC = ({ hasCert, label, onChange, onClick, placeholder }) => { return ( - - {hasCert ? ( - <> - - - - ) : ( -