Fix remaining mediaType casts in PlexWatchlistSlider and RecentlyAddedSlider

This commit is contained in:
root
2026-04-04 06:51:28 -05:00
parent 41bb2c3a2c
commit d8404496b8
2 changed files with 2 additions and 2 deletions

View File

@@ -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}
/> />
))} ))}

View File

@@ -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'}
/> />
))} ))}
/> />