Cast all mediaType props flowing to TmdbTitleCard
Some checks failed
Close Stale Issues and PRs / Close stale issues and PRs (push) Has been cancelled
Some checks failed
Close Stale Issues and PRs / Close stale issues and PRs (push) Has been cancelled
This commit is contained in:
@@ -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'}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user