diff --git a/src/components/Album.tsx b/src/components/Album.tsx index 046a5d2..441947b 100644 --- a/src/components/Album.tsx +++ b/src/components/Album.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { Box, Heading, Image } from 'grommet'; +import { Box, Heading } from 'grommet'; import placeholder from '../assets/placeholder-music.jpg'; @@ -10,10 +10,16 @@ export const Album = ({ image, name }: { image: string; name: string }) => { } return ( - - - - + + - - {selectedName} - + <> - - - - - - Other results - - - {otherArtists.map((artist) => ( - - ))} + + {selectedName} + + + + + + + + + + + Other results + + + + {otherArtists.map((artist) => ( + + ))} + - - - Discography - - - {(size) => ( - + + Discography + + + {selectedAlbums.map((album) => ( ))} - - )} - - + + + + ); };