From 0cc684d940db2eb9c7919ebca8ae26fecc576f2a Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Mon, 9 Jan 2023 12:49:22 -0500 Subject: [PATCH] Allow null --- app/soapbox/features/status/components/card.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/soapbox/features/status/components/card.tsx b/app/soapbox/features/status/components/card.tsx index 615aa5a952..214b0f1f96 100644 --- a/app/soapbox/features/status/components/card.tsx +++ b/app/soapbox/features/status/components/card.tsx @@ -153,7 +153,7 @@ const Card: React.FC = ({ ); - let embed: React.ReactNode = ''; + let embed: React.ReactNode = null; const canvas = ( = ({ {thumbnail} ); - } else { - embed = null; } return (