From a5d4115be37f1c7606970c2279842d642cd3a703 Mon Sep 17 00:00:00 2001 From: Rassl Date: Tue, 26 Sep 2023 18:45:22 +0300 Subject: [PATCH] feat: add link to tweet (#432) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Расул --- src/components/App/SideBar/TwitData/index.tsx | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/components/App/SideBar/TwitData/index.tsx b/src/components/App/SideBar/TwitData/index.tsx index 768ad7b7b..f22b7a521 100644 --- a/src/components/App/SideBar/TwitData/index.tsx +++ b/src/components/App/SideBar/TwitData/index.tsx @@ -10,14 +10,6 @@ export const TwitData = () => { const twitId: string = selectedNode?.tweet_id || '' - const openLinkInNewWindow = () => { - // Replace 'linkUrl' with the URL you want to open in a new window - const linkUrl = 'https://example.com' - - // Use window.open() to open the link in a new window - window.open(linkUrl, '_blank') - } - return ( selectedNode && ( @@ -39,8 +31,10 @@ export const TwitData = () => { {selectedNode.text} - - + + + + )}