From e25f9449d07dbc7d91f485e7aba5b4407f0a379d Mon Sep 17 00:00:00 2001 From: Michael Ross <102625452+Rosshoven@users.noreply.github.com> Date: Thu, 9 Nov 2023 14:10:33 -0600 Subject: [PATCH] Update ArtistIndex.js According to the videos in section 11, years active should be displayed with the artist results, not albums released. This change makes the starter code the same as the video presentations in section 11. --- src/components/artists/ArtistIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/artists/ArtistIndex.js b/src/components/artists/ArtistIndex.js index 153f2a9..f064d41 100644 --- a/src/components/artists/ArtistIndex.js +++ b/src/components/artists/ArtistIndex.js @@ -37,7 +37,7 @@ class ArtistIndex extends Component {

{artist.age} years old
- {artist.albums ? artist.albums.length : 0} albums released + {artist.yearsActive} years active