diff --git a/front/components/V2/SearchBar.tsx b/front/components/V2/SearchBar.tsx index 0ec2e9f..585f735 100644 --- a/front/components/V2/SearchBar.tsx +++ b/front/components/V2/SearchBar.tsx @@ -140,17 +140,16 @@ const SearchBarComponent = () => { gap: 10, }} > - {!artist - ? artistsQuery.data?.map((artist, index) => ( - { - setArtist(artist.name); - }} - /> - )) - : null} + {!artist && + artistsQuery.data?.map((artist, index) => ( + { + setArtist(artist.name); + }} + /> + ))}