From 547f7a2e7c448581006f182887d6b3f0bfc1db31 Mon Sep 17 00:00:00 2001 From: Philippe Ka Date: Thu, 28 Mar 2024 12:23:11 +0100 Subject: [PATCH] Fix: post_preview footer removed Changelog: fixed --- .../post_message_preview.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/webapp/channels/src/components/post_view/post_message_preview/post_message_preview.tsx b/webapp/channels/src/components/post_view/post_message_preview/post_message_preview.tsx index 4c4ed07f90..6396b11275 100644 --- a/webapp/channels/src/components/post_view/post_message_preview/post_message_preview.tsx +++ b/webapp/channels/src/components/post_view/post_message_preview/post_message_preview.tsx @@ -138,22 +138,6 @@ const PostMessagePreview = (props: Props) => { teamUrl = currentTeamUrl; } - const previewFooter = channelDisplayName || previewFooterMessage ? ( -
-

- {previewFooterMessage || ( - - )} -

-
- ) : null; - return ( { /> {urlPreview} {fileAttachmentPreview} - {previewFooter} );