mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
IDK WTF IS HAPPENING AHHH
This commit is contained in:
parent
4446c7566a
commit
f230447cfa
1 changed files with 1 additions and 5 deletions
|
@ -96,7 +96,7 @@ export function NextEpisodeButton(props: {
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
return () => clearInterval(interval);
|
return () => clearInterval(interval);
|
||||||
}, []);
|
}, [time, duration]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (seconds === 0) {
|
if (seconds === 0) {
|
||||||
|
@ -105,10 +105,6 @@ export function NextEpisodeButton(props: {
|
||||||
}
|
}
|
||||||
}, [seconds, loadNextEpisode]);
|
}, [seconds, loadNextEpisode]);
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
setSeconds(15);
|
|
||||||
}, [time, duration]);
|
|
||||||
|
|
||||||
if (!meta?.episode || !nextEp) return null;
|
if (!meta?.episode || !nextEp) return null;
|
||||||
if (metaType !== "show") return null;
|
if (metaType !== "show") return null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue