mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-04 16:47:40 +01:00
Update Movie.js
This commit is contained in:
parent
14d82dc558
commit
8489a8af2b
1 changed files with 3 additions and 3 deletions
|
@ -57,9 +57,9 @@ export function MovieView(props) {
|
||||||
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
getStreamUrl(streamData.slug, streamData.type, streamData.source, season, episode)
|
getStreamUrl(streamData.slug, streamData.type, streamData.source, season, episode)
|
||||||
.then(({url, subtitles}) => {
|
.then(({ url }) => {
|
||||||
if (cancel) return;
|
if (cancel) return;
|
||||||
if (streamData.source === "lookmovie") streamData.subtitles = subtitles;
|
streamData.subtitles = [];
|
||||||
setStreamUrl(url)
|
setStreamUrl(url)
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue