From 0e31f6226c011dee5273a4d38be1625be0efdd28 Mon Sep 17 00:00:00 2001
From: Arya Khochare <91268931+Aryakoste@users.noreply.github.com>
Date: Fri, 11 Oct 2024 19:04:45 +0530
Subject: [PATCH] [MM-60818] Replace FormattedMarkdownMessage in
'webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx'
with FormattedMessage (#28607)
---
.../delete_category_modal/delete_category_modal.tsx | 7 +++----
webapp/channels/src/i18n/en.json | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx b/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx
index 509cf4e974..9a86c4d040 100644
--- a/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx
+++ b/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx
@@ -7,8 +7,6 @@ import {FormattedMessage, defineMessages, useIntl} from 'react-intl';
import {GenericModal} from '@mattermost/components';
import type {ChannelCategory} from '@mattermost/types/channel_categories';
-import FormattedMarkdownMessage from 'components/formatted_markdown_message';
-
import '../category_modal.scss';
type Props = {
@@ -48,11 +46,12 @@ export default function DeleteCategoryModal(props: Props) {
confirmButtonClassName={'delete'}
>
- {chunks},
}}
/>
diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json
index 04f6f0f06b..06eaf41d91 100644
--- a/webapp/channels/src/i18n/en.json
+++ b/webapp/channels/src/i18n/en.json
@@ -3515,7 +3515,7 @@
"deactivate_member_modal.title": "Deactivate {username}",
"delete_category_modal.delete": "Delete",
"delete_category_modal.deleteCategory": "Delete this category?",
- "delete_category_modal.helpText": "Channels in **{category_name}** will move back to the Channels and Direct messages categories. You're not removed from any channels.",
+ "delete_category_modal.helpText": "Channels in {category_name} will move back to the Channels and Direct messages categories. You're not removed from any channels.",
"delete_channel.cancel": "Cancel",
"delete_channel.confirm": "Confirm ARCHIVE Channel",
"delete_channel.del": "Archive",