From 7d7f88666164fbd211cd35f9e999ca13a6745218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Thu, 7 Dec 2023 16:52:35 +0100 Subject: [PATCH] Fixed CI and good to merge --- front/components/V2/SearchBar.tsx | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) 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); + }} + /> + ))}