From ad483ed9f46bbbd34c082f845bdad03bee0472bf Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Thu, 12 Dec 2024 15:40:12 +0100 Subject: [PATCH] no need to hide spoiler if post is deleted or removed --- src/components/post/expando/expando.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/post/expando/expando.tsx b/src/components/post/expando/expando.tsx index 2db7ec09..425439c9 100644 --- a/src/components/post/expando/expando.tsx +++ b/src/components/post/expando/expando.tsx @@ -59,7 +59,7 @@ const Expando = ({ spoiler && !showSpoiler && setShowSpoiler(true); }} > - {spoiler && !showSpoiler && ( + {spoiler && !showSpoiler && !(deleted || removed) && ( <>
{t('view_spoiler')}