From ad856494c6e42fb46af61168899029e04de035ed Mon Sep 17 00:00:00 2001 From: Violet Caulfield Date: Mon, 24 Feb 2025 20:32:30 -0600 Subject: [PATCH] add a heading to similar artists --- components/Artist/index.tsx | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/components/Artist/index.tsx b/components/Artist/index.tsx index cccce96a..0a115fb4 100644 --- a/components/Artist/index.tsx +++ b/components/Artist/index.tsx @@ -103,23 +103,25 @@ export function ArtistScreen({ /> } ListFooterComponent={( - { + - }} - renderItem={({ item: artist }) => ( - { - navigation.navigate('Artist', { - artist - }) - }} - /> - )} - /> +

{`Similar to ${artist.Name ?? 'Unknown Artist'}`}

+ + ( + { + navigation.navigate('Artist', { + artist + }) + }} + /> + )} + /> +
)} />