diff --git a/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx b/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx
index 0462b64845f..5cefd9b21f5 100644
--- a/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx
+++ b/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx
@@ -1,4 +1,5 @@
import { css } from '@emotion/css';
+import classNames from 'classnames';
import React, { FC } from 'react';
import { useFormContext } from 'react-hook-form';
@@ -75,7 +76,7 @@ export const DetailsStep: FC = () => {
dataSourceName &&