Skip to content

Commit

Permalink
Give up!
Browse files Browse the repository at this point in the history
  • Loading branch information
itzCozi committed Mar 24, 2024
1 parent 566f7e9 commit d0dd092
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/player/atoms/NextEpisodeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit d0dd092

Please sign in to comment.