From 81e4e34bd817ab760d7f16ca1e9cd9c47db2388c Mon Sep 17 00:00:00 2001 From: Jordan Jones Date: Wed, 17 Apr 2024 21:18:21 -0500 Subject: [PATCH] feat: use different backdrop index for movie genres --- src/components/Discover/MovieGenreList/index.tsx | 2 +- src/components/Discover/MovieGenreSlider/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Discover/MovieGenreList/index.tsx b/src/components/Discover/MovieGenreList/index.tsx index f19f5770fd..2654bb3998 100644 --- a/src/components/Discover/MovieGenreList/index.tsx +++ b/src/components/Discover/MovieGenreList/index.tsx @@ -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 /> diff --git a/src/components/Discover/MovieGenreSlider/index.tsx b/src/components/Discover/MovieGenreSlider/index.tsx index 106d14a514..7a15ec977b 100644 --- a/src/components/Discover/MovieGenreSlider/index.tsx +++ b/src/components/Discover/MovieGenreSlider/index.tsx @@ -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}`} /> ))}