liked handled properly
This commit is contained in:
@@ -156,6 +156,7 @@ const SearchBarComponent = (props: { onValidate: (searchData: searchProps) => vo
|
||||
key={index}
|
||||
name={artist.name}
|
||||
onPress={() => {
|
||||
props.onValidate({artist: artist.id, genre: genresQuery.data?.find((g) => g.name === genre)?.id ?? undefined, query: query})
|
||||
setArtist(artist.name);
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user