Fix remaining mediaType casts in PlexWatchlistSlider and RecentlyAddedSlider
This commit is contained in:
@@ -66,7 +66,7 @@ const PlexWatchlistSlider = () => {
|
|||||||
id={item.tmdbId}
|
id={item.tmdbId}
|
||||||
key={`watchlist-slider-item-${item.ratingKey}`}
|
key={`watchlist-slider-item-${item.ratingKey}`}
|
||||||
tmdbId={item.tmdbId}
|
tmdbId={item.tmdbId}
|
||||||
type={item.mediaType}
|
type={item.mediaType as 'movie' | 'tv'}
|
||||||
isAddedToWatchlist={true}
|
isAddedToWatchlist={true}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ const RecentlyAddedSlider = () => {
|
|||||||
id={item.id}
|
id={item.id}
|
||||||
tmdbId={item.tmdbId}
|
tmdbId={item.tmdbId}
|
||||||
tvdbId={item.tvdbId}
|
tvdbId={item.tvdbId}
|
||||||
type={item.mediaType}
|
type={item.mediaType as 'movie' | 'tv'}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user