[MM-60850] FormattedMarkdownMessage in 'webapp/channels/src/components/post_view/channel_intro_message/channel_intro_message.tsx' with FormattedMessage (#28672)

This commit is contained in:
Arya Khochare 2024-10-11 20:58:09 +05:30 committed by GitHub
parent 362b02203a
commit 9eb424a252
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,6 @@ import ChannelIntroPrivateSvg from 'components/common/svg_images_components/chan
import ChannelIntroPublicSvg from 'components/common/svg_images_components/channel_intro_public_svg'; import ChannelIntroPublicSvg from 'components/common/svg_images_components/channel_intro_public_svg';
import ChannelIntroTownSquareSvg from 'components/common/svg_images_components/channel_intro_town_square_svg'; import ChannelIntroTownSquareSvg from 'components/common/svg_images_components/channel_intro_town_square_svg';
import EditChannelHeaderModal from 'components/edit_channel_header_modal'; import EditChannelHeaderModal from 'components/edit_channel_header_modal';
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
import ChannelPermissionGate from 'components/permissions_gates/channel_permission_gate'; import ChannelPermissionGate from 'components/permissions_gates/channel_permission_gate';
import TeamPermissionGate from 'components/permissions_gates/team_permission_gate'; import TeamPermissionGate from 'components/permissions_gates/team_permission_gate';
import ProfilePicture from 'components/profile_picture'; import ProfilePicture from 'components/profile_picture';
@ -285,7 +284,7 @@ function createDMIntroMessage(
/> />
</h2> </h2>
<p className='channel-intro__text'> <p className='channel-intro__text'>
<FormattedMarkdownMessage <FormattedMessage
id='intro_messages.DM' id='intro_messages.DM'
defaultMessage='This is the start of your direct message history with {teammate}. Messages and files shared here are not shown to anyone else.' defaultMessage='This is the start of your direct message history with {teammate}. Messages and files shared here are not shown to anyone else.'
values={{ values={{