From 49b37d94b78dc183db0ab3b6971697e2a57cbdd2 Mon Sep 17 00:00:00 2001 From: Horacio Herrera Date: Wed, 27 Mar 2024 16:29:35 +0100 Subject: [PATCH] remove dead code --- frontend/packages/shared/src/publication-content.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/packages/shared/src/publication-content.tsx b/frontend/packages/shared/src/publication-content.tsx index e8732ac09..43aaa0106 100644 --- a/frontend/packages/shared/src/publication-content.tsx +++ b/frontend/packages/shared/src/publication-content.tsx @@ -1578,7 +1578,6 @@ export function BlockContentTwitter({block, ...props}: BlockContentProps) { const urlArray = block.ref.split('/') const tweetId = urlArray[urlArray.length - 1].split('?')[0] const {data, error, isLoading} = useTweet(tweetId) - const openUrl = () => {} if (isLoading) return (