From d7e4d07497bef6aab8e2dfa51a35eebf4ab7183c Mon Sep 17 00:00:00 2001 From: Hryvenko Ihor Date: Fri, 1 May 2026 22:46:59 +0300 Subject: [PATCH] fix: handle stream link --- .../components/TorrentsTable/components/Actions/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx index c76c82a..71e2eaa 100644 --- a/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx +++ b/components/Preview/components/Torrents/components/TorrentsTable/components/Actions/index.tsx @@ -69,7 +69,7 @@ const Actions: FC = ({ torrent, title, provider, show }) => { if (isSafari) { const link = window.open(`${M3UUrl}?${params}`, '_blank'); - setTimeout(() => link?.close(), 300); + return setTimeout(() => link?.close(), 300); } const resolver = new Image();