1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00
This commit is contained in:
Cooper Ransom 2024-03-24 14:26:53 -04:00
parent 566f7e921d
commit d0dd0921d6

View file

@ -80,12 +80,6 @@ export function NextEpisodeButton(props: {
props.onChange?.(metaCopy);
}, [setDirectMeta, nextEp, meta, props, setShouldStartFromBeginning]);
useEffect(() => {
if (time === duration && showingState === "always") {
loadNextEpisode();
}
}, [time, duration, showingState, loadNextEpisode]);
const startCurrentEpisodeFromBeginning = useCallback(() => {
if (!meta || !meta.episode) return;
const metaCopy = { ...meta };