Remove unnceccicary properties
This commit is contained in:
parent
88084fd982
commit
e5f0d47862
1 changed files with 0 additions and 3 deletions
|
@ -27,9 +27,6 @@ const Home = () => {
|
||||||
.map((movie) => ({
|
.map((movie) => ({
|
||||||
id: movie.id,
|
id: movie.id,
|
||||||
posterUrl: `https://image.tmdb.org/t/p/w342${movie.poster_path}`,
|
posterUrl: `https://image.tmdb.org/t/p/w342${movie.poster_path}`,
|
||||||
title: movie.title,
|
|
||||||
year: movie.release_date.split("-")[0],
|
|
||||||
averageVote: movie.vote_average / 2,
|
|
||||||
}))
|
}))
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue