xxxxxxxxxx
// the answer above is not even fucking related fuck you whoever made that answer
xxxxxxxxxx
<div className="page">
<Section className="lists">
{movieList.map((item, key)=>(
<div>
<MovieRow key={key} title={item.title} items={item.item} />
</div>
))}
</Section>
xxxxxxxxxx
return(
<div className="page">
<Section className="lists">
{movieList.map((item, key)=>(
<MovieRow key={key} title={item.title} items={item.item} />
))}
</Section>
</div>
);
}
xxxxxxxxxx
<h2>{title}</h2>
<div className="movieRow--listarea">
{items.results.length > 0 && items.results.map((item, key)=>(
<img src={`https://image.tmdb.org/t/p/w300${item.poster_path}`}
))}
</div>
</div>
);
}