Cast all mediaType props flowing to TmdbTitleCard
Some checks failed
Close Stale Issues and PRs / Close stale issues and PRs (push) Has been cancelled

This commit is contained in:
root
2026-04-03 23:10:22 -05:00
parent 53d7b56265
commit 41bb2c3a2c

View File

@@ -369,7 +369,7 @@ const UserProfile = () => {
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'}
/> />
))} ))}
/> />
@@ -395,7 +395,7 @@ const UserProfile = () => {
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'}
/> />
))} ))}
/> />