Skip to content

Commit

Permalink
refactored ArtistCard to satisfy the type imported
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhindo-Galien committed Dec 28, 2022
1 parent 96ae12b commit f20fdd0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ const BestArtist = () => {
<h3 className="text-2xl font-semibold pb-5 border-b">Best Artist</h3>
<div className="flex flex-col gap-3">
<ArtistCard
artistAvatar={songs[0].image}
artistAvatar={songs[0].img}
artistName={songs[0].artist}
date="24 jan,2022"
streams={numberConverter(400)}
borderColorClassName="border-green-500"
streamsBgClassName="bg-green-500"
/>
<ArtistCard
artistAvatar={songs[1].image}
artistAvatar={songs[1].img}
artistName={songs[1].artist}
date="12 feb,2022"
streams={numberConverter(500)}
borderColorClassName="border-primary"
streamsBgClassName="bg-primary"
/>
<ArtistCard
artistAvatar={songs[2].image}
artistAvatar={songs[2].img}
artistName={songs[2].artist}
date="24 jul,2022"
streams={numberConverter(350)}
Expand Down

0 comments on commit f20fdd0

Please sign in to comment.