fix remaining build errors
This commit is contained in:
@@ -41,6 +41,7 @@ export function SpotlightHero({ kind = 'all' }: { kind?: 'all' | 'movie' | 'tv'
|
||||
const mediaType: 'movie' | 'tv' = pick.media_type === 'tv' || pick.first_air_date ? 'tv' : 'movie'
|
||||
|
||||
function open() {
|
||||
if (!pick) return
|
||||
navigate(`/item/tmdb-${mediaType}-${pick.id}`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user