diff --git a/src/components/App.tsx b/src/components/App.tsx index 72512d4..b15c11f 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -25,10 +25,9 @@ const QUERY_ARTISTS = gql` export default function App() { const [inputValue, setInputValue] = useState(''); - const [ - getArtists, - { data, error, loading, variables }, - ] = useLazyQuery(QUERY_ARTISTS); + const [getArtists, { data, error, loading, variables }] = useLazyQuery( + QUERY_ARTISTS, + ); const [artists, setArtists] = useState([]); const [suggestions, setSuggestions] = useState([]); const [selected, setSelected] = useState(false); @@ -126,13 +125,11 @@ export default function App() { )} {error && !errorNoSearchQuery && ( -
-
-						{error.graphQLErrors.map(({ message }, i) => (
-							{message}
-						))}
-					
-
+
+					{error.graphQLErrors.map(({ message }, i) => (
+						{message}
+					))}
+				
)} );