From a636ebdc403b9d10178a355559c45e9ed0814d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Wed, 6 Nov 2024 17:31:08 +0100 Subject: [PATCH] pl-fe: add missing code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/status-content.tsx | 8 ++++++++ packages/pl-fe/src/components/status.tsx | 16 +++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/pl-fe/src/components/status-content.tsx b/packages/pl-fe/src/components/status-content.tsx index 3241ff01d..033385ad0 100644 --- a/packages/pl-fe/src/components/status-content.tsx +++ b/packages/pl-fe/src/components/status-content.tsx @@ -287,6 +287,14 @@ const StatusContent: React.FC = React.memo(({ output.push(); } + if (media) { + output.push(media); + } + + if (hashtags.length) { + output.push(); + } + return <>{output}; } }); diff --git a/packages/pl-fe/src/components/status.tsx b/packages/pl-fe/src/components/status.tsx index f5e819594..d5fccae75 100644 --- a/packages/pl-fe/src/components/status.tsx +++ b/packages/pl-fe/src/components/status.tsx @@ -399,15 +399,13 @@ const Status: React.FC = (props) => { {actualStatus.event ? : ( - - - + )}