Skip to content

Commit

Permalink
Merge pull request #14 from jordanjones98/fix-category-image
Browse files Browse the repository at this point in the history
feat: use different backdrop index for movie genres
  • Loading branch information
jordanjones98 authored Apr 18, 2024
2 parents 935d0d5 + 81e4e34 commit 99b3607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Discover/MovieGenreList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const MovieGenreList = () => {
name={genre.name}
image={`https://image.tmdb.org/t/p/w1280_filter(duotone,${
genreColorMap[genre.id] ?? genreColorMap[0]
})${genre.backdrops[4]}`}
})${genre.backdrops[5]}`}
url={`/discover/movies/genre/${genre.id}`}
canExpand
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Discover/MovieGenreSlider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const MovieGenreSlider = () => {
name={genre.name}
image={`https://image.tmdb.org/t/p/w1280_filter(duotone,${
genreColorMap[genre.id] ?? genreColorMap[0]
})${genre.backdrops[4]}`}
})${genre.backdrops[5]}`}
url={`/discover/movies?genre=${genre.id}`}
/>
))}
Expand Down

0 comments on commit 99b3607

Please sign in to comment.