log search result errors

We showed an error to the user, but nothing in the console! Now we have it :)
This commit is contained in:
Emi Matchu 2021-01-17 04:47:11 -08:00
parent f6ce8611b2
commit 7393991046

View file

@ -331,6 +331,9 @@ function useSearchResults(query, outfitState) {
setIsEndOfResults(true);
}
},
onError: (e) => {
console.error("Error loading search results", e);
},
}
);