mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Give up!
This commit is contained in:
parent
566f7e921d
commit
d0dd0921d6
1 changed files with 0 additions and 6 deletions
|
@ -80,12 +80,6 @@ export function NextEpisodeButton(props: {
|
||||||
props.onChange?.(metaCopy);
|
props.onChange?.(metaCopy);
|
||||||
}, [setDirectMeta, nextEp, meta, props, setShouldStartFromBeginning]);
|
}, [setDirectMeta, nextEp, meta, props, setShouldStartFromBeginning]);
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
if (time === duration && showingState === "always") {
|
|
||||||
loadNextEpisode();
|
|
||||||
}
|
|
||||||
}, [time, duration, showingState, loadNextEpisode]);
|
|
||||||
|
|
||||||
const startCurrentEpisodeFromBeginning = useCallback(() => {
|
const startCurrentEpisodeFromBeginning = useCallback(() => {
|
||||||
if (!meta || !meta.episode) return;
|
if (!meta || !meta.episode) return;
|
||||||
const metaCopy = { ...meta };
|
const metaCopy = { ...meta };
|
||||||
|
|
Loading…
Reference in a new issue