Skip to content

Commit

Permalink
remove scraping and try sum
Browse files Browse the repository at this point in the history
  • Loading branch information
itzCozi committed Mar 26, 2024
1 parent 0872081 commit 27d212b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/player/atoms/NextEpisodeButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ export function NextEpisodeButton(props: {
}, [setDirectMeta, nextEp, meta, props, setShouldStartFromBeginning]);

useEffect(() => {
console.log(time, duration, "# 1")
if (time >= duration && meta?.episode) {
loadNextEpisode();
console.log(time, duration, "# 2")
}
}, [time, duration, meta, loadNextEpisode]);

Expand Down

0 comments on commit 27d212b

Please sign in to comment.