diff --git a/frontend/src/container/FormAlertChannels/Settings/LabelFilter.tsx b/frontend/src/container/FormAlertChannels/Settings/LabelFilter.tsx
index 2d71c520ce..21311e416d 100644
--- a/frontend/src/container/FormAlertChannels/Settings/LabelFilter.tsx
+++ b/frontend/src/container/FormAlertChannels/Settings/LabelFilter.tsx
@@ -1,5 +1,4 @@
-import { Input, Select } from 'antd';
-import FormItem from 'antd/lib/form/FormItem';
+import { Form, Input, Select } from 'antd';
import { LabelFilterStatement } from 'container/CreateAlertChannels/config';
import React from 'react';
@@ -10,7 +9,7 @@ const { Option } = Select;
// point
function LabelFilterForm({ setFilter }: LabelFilterProps): JSX.Element {
return (
-
+
-
+
);
}
diff --git a/frontend/src/container/FormAlertChannels/Settings/Pager.tsx b/frontend/src/container/FormAlertChannels/Settings/Pager.tsx
index 0e36613096..5c0ca2e7c8 100644
--- a/frontend/src/container/FormAlertChannels/Settings/Pager.tsx
+++ b/frontend/src/container/FormAlertChannels/Settings/Pager.tsx
@@ -1,5 +1,4 @@
-import { Input } from 'antd';
-import FormItem from 'antd/lib/form/FormItem';
+import { Form, Input } from 'antd';
import React from 'react';
import { useTranslation } from 'react-i18next';
@@ -11,7 +10,7 @@ function PagerForm({ setSelectedConfig }: PagerFormProps): JSX.Element {
const { t } = useTranslation('channels');
return (
<>
-
+
{
setSelectedConfig((value) => ({
@@ -20,9 +19,9 @@ function PagerForm({ setSelectedConfig }: PagerFormProps): JSX.Element {
}));
}}
/>
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
+
-
-
-
+
-
+
-
-
+
>
);
}
diff --git a/frontend/src/container/FormAlertChannels/Settings/Slack.tsx b/frontend/src/container/FormAlertChannels/Settings/Slack.tsx
index 89ea3d62f9..9415a500d7 100644
--- a/frontend/src/container/FormAlertChannels/Settings/Slack.tsx
+++ b/frontend/src/container/FormAlertChannels/Settings/Slack.tsx
@@ -1,5 +1,4 @@
-import { Input } from 'antd';
-import FormItem from 'antd/lib/form/FormItem';
+import { Form, Input } from 'antd';
import React from 'react';
import { useTranslation } from 'react-i18next';
@@ -12,7 +11,7 @@ function Slack({ setSelectedConfig }: SlackProps): JSX.Element {
return (
<>
-
+
{
setSelectedConfig((value) => ({
@@ -21,9 +20,9 @@ function Slack({ setSelectedConfig }: SlackProps): JSX.Element {
}));
}}
/>
-
+
-
-
+
-
+
-
+
-
+
+
>
);
}
diff --git a/frontend/src/container/FormAlertChannels/Settings/Webhook.tsx b/frontend/src/container/FormAlertChannels/Settings/Webhook.tsx
index d8e8c04aff..537d826313 100644
--- a/frontend/src/container/FormAlertChannels/Settings/Webhook.tsx
+++ b/frontend/src/container/FormAlertChannels/Settings/Webhook.tsx
@@ -1,5 +1,4 @@
-import { Input } from 'antd';
-import FormItem from 'antd/lib/form/FormItem';
+import { Form, Input } from 'antd';
import React from 'react';
import { useTranslation } from 'react-i18next';
@@ -10,7 +9,7 @@ function WebhookSettings({ setSelectedConfig }: WebhookProps): JSX.Element {
return (
<>
-
+
{
setSelectedConfig((value) => ({
@@ -19,8 +18,8 @@ function WebhookSettings({ setSelectedConfig }: WebhookProps): JSX.Element {
}));
}}
/>
-
-
+
-
-
+
-
+
>
);
}
diff --git a/frontend/src/container/FormAlertChannels/index.tsx b/frontend/src/container/FormAlertChannels/index.tsx
index 9cbb3a2021..41be8382ac 100644
--- a/frontend/src/container/FormAlertChannels/index.tsx
+++ b/frontend/src/container/FormAlertChannels/index.tsx
@@ -1,5 +1,4 @@
import { Form, FormInstance, Input, Select, Typography } from 'antd';
-import FormItem from 'antd/lib/form/FormItem';
import { Store } from 'antd/lib/form/interface';
import ROUTES from 'constants/routes';
import {
@@ -59,7 +58,7 @@ function FormAlertChannels({
{title}
{renderSettings()}
-
+
-
+
>
);