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();