From 8489a8af2b0dfa4e401b588eeaf16c38f464dcab Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Fri, 24 Sep 2021 07:45:07 +0100 Subject: [PATCH] Update Movie.js --- src/views/Movie.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Movie.js b/src/views/Movie.js index 3825ef09..f77ae4d4 100644 --- a/src/views/Movie.js +++ b/src/views/Movie.js @@ -57,9 +57,9 @@ export function MovieView(props) { setLoading(true); getStreamUrl(streamData.slug, streamData.type, streamData.source, season, episode) - .then(({url, subtitles}) => { - if (cancel) return; - if (streamData.source === "lookmovie") streamData.subtitles = subtitles; + .then(({ url }) => { + if (cancel) return; + streamData.subtitles = []; setStreamUrl(url) setLoading(false); })