Issue #5: Creacion de boton AddToList

This commit is contained in:
Daniel Cortes
2020-06-19 05:56:55 -04:00
parent 5fea207523
commit ebda82edb3
6 changed files with 13 additions and 12 deletions

View File

@@ -61,8 +61,7 @@ const Artist = (props) => {
if (artist){
return <Entity title={artist.name}
subtitle={[artist.type, artist.country].filter(Boolean).join(' - ')}
tags={artist.tags.map((tag) => (tag.name))}
buttonText='Agregar a mi lista'/>
tags={artist.tags.map((tag) => (tag.name))}/>
}else {
return <Fragment/>
}