From 26d2c7851727af16ed645e86930239a5e6578b4e Mon Sep 17 00:00:00 2001 From: xmflsct Date: Sat, 14 Jan 2023 15:26:11 +0100 Subject: [PATCH] Fix #653 --- src/components/Timeline/Shared/Card.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Timeline/Shared/Card.tsx b/src/components/Timeline/Shared/Card.tsx index 4579a88a..0ce1df8f 100644 --- a/src/components/Timeline/Shared/Card.tsx +++ b/src/components/Timeline/Shared/Card.tsx @@ -64,6 +64,9 @@ const TimelineCard: React.FC = () => { if (loading) { return null } + if (status.media_attachments.length) { + return null + } if ((!status.card?.image || !status.card.title) && !status.card?.description) { return null }