Skip to content

Commit

Permalink
fix(episode-container): increase anilist episode to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangvu12 committed Nov 22, 2023
1 parent b679722 commit 061489f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const EpisodeContainer: React.FC<EpisodeContainerProps> = ({
}

if (!hasLocalProgress) {
return media.mediaListEntry?.progress || undefined;
return media.mediaListEntry?.progress! + 1;
}

const localProgress = parseInt(watchedEp?.episode.number ?? '0', 10);
Expand Down

0 comments on commit 061489f

Please sign in to comment.