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