feat(frontend): discover tv/movies full page

Also adds ListView component for infinite scrolling pages
This commit is contained in:
sct
2020-09-17 03:10:00 +00:00
parent 31809d952c
commit be0003a85d
10 changed files with 260 additions and 77 deletions

View File

@@ -80,7 +80,8 @@ export const mapTvResult = (
id: tvResult.id,
firstAirDate: tvResult.first_air_Date,
genreIds: tvResult.genre_ids,
mediaType: tvResult.media_type,
// Some results from tmdb dont return the mediaType so we force it here!
mediaType: tvResult.media_type || 'tv',
name: tvResult.name,
originCountry: tvResult.origin_country,
originalLanguage: tvResult.original_language,