From d0dd0921d6b78b9e268269b5aca8345034a2dfcc Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Sun, 24 Mar 2024 14:26:53 -0400 Subject: [PATCH] Give up! --- src/components/player/atoms/NextEpisodeButton.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/player/atoms/NextEpisodeButton.tsx b/src/components/player/atoms/NextEpisodeButton.tsx index a1f857a6..f00ba6e3 100644 --- a/src/components/player/atoms/NextEpisodeButton.tsx +++ b/src/components/player/atoms/NextEpisodeButton.tsx @@ -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 };