updated styles

This commit is contained in:
andres alcocer
2021-10-08 19:57:36 -04:00
parent 4a82c29a7b
commit 48dad9f32b
6 changed files with 33 additions and 38 deletions

View File

@@ -41,9 +41,9 @@ const Search = () => {
<>
<div className='search-container'>
{searchResults.map((movie) => {
if (movie.poster_path !== null && movie.media_type !== 'person') {
if (movie.backdrop_path !== null && movie.media_type !== 'person') {
const movieImageUrl =
'https://image.tmdb.org/t/p/w500' + movie.poster_path
'https://image.tmdb.org/t/p/w500' + movie.backdrop_path
return (
<div className='movie'>
<div