From 9f94ddcd402c0664961f3de77728ba9af9795176 Mon Sep 17 00:00:00 2001 From: diondiondion Date: Thu, 12 Jun 2025 15:29:55 +0200 Subject: [PATCH] fix: Fix error caused by attempt to fetch non-existent quote (#35022) --- app/javascript/mastodon/components/status_quoted.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/status_quoted.tsx b/app/javascript/mastodon/components/status_quoted.tsx index 36bd618df..d3d8b58c3 100644 --- a/app/javascript/mastodon/components/status_quoted.tsx +++ b/app/javascript/mastodon/components/status_quoted.tsx @@ -89,7 +89,7 @@ export const QuotedStatus: React.FC<{ ); useEffect(() => { - if (!status) { + if (!status && quotedStatusId) { dispatch(fetchStatus(quotedStatusId)); } }, [status, quotedStatusId, dispatch]);