mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-19 05:32:09 +00:00
fix(useTorrent): remove toast from hook deps
This commit is contained in:
parent
65b576f004
commit
ea5e0f8c27
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ const useTorrent = () => {
|
|||
});
|
||||
}, 10000);
|
||||
}
|
||||
}, [toast]);
|
||||
}, []);
|
||||
React.useEffect(() => {
|
||||
if (streamingServer.torrent !== null) {
|
||||
const [, { type }] = streamingServer.torrent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue