Try this
<User
name={album.name}
band={album.band}
city={album.city}
id={album.id} <----- Add this line
genresId={
genres &&
genres.map((g) => {
if (g.id === album.genresId) {
return g.name;
}
return "";
})
}
onDelete={onDelete}
/>
* Be the first to Make Comment