Skip to content

Commit

Permalink
fix(anime): episode number
Browse files Browse the repository at this point in the history
  • Loading branch information
rizkyhaksono committed Nov 8, 2024
1 parent ddc8a00 commit 57f32d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/anime/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ export default function AnimeSlugPage() {
key={episode.slug}
>
<Link
href={`/anime/${router.slug}/episodes/${index + 1}`}
href={`/anime/${router.slug}/episodes/${episode.episode_number}`}
onClick={() =>
saveEpisode({
title: dataAnime?.data?.title,
poster: dataAnime?.data?.poster,
router: router.slug,
episode: `/anime/${router.slug}/episodes/${index + 1}`,
episode: `/anime/${router.slug}/episodes/${episode.episode_number}`,
})
}
>
Expand Down

0 comments on commit 57f32d9

Please sign in to comment.