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 ( - + { 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 { })); }} /> - + - - + - +