Album CSS and link to Spotify

This commit is contained in:
Rodrigo Pinto 2019-12-16 20:40:52 -05:00
commit 3b057fa31d
4 changed files with 40 additions and 23 deletions

View file

@ -19,10 +19,6 @@ function Albums({ props }) {
})
}, [props])
const detailsCallback = id => {
console.log('Navigate to', id)
}
return (
<div className='spotify'>
<h1>Albums</h1>
@ -32,7 +28,7 @@ function Albums({ props }) {
<ul className='list'>
{albums.map((album, index) => (
<li className='list-item' key={index}>
<Album props={album} callback={detailsCallback} />
<Album props={album} />
</li>
))}
</ul>