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:
parent
f6ce8611b2
commit
7393991046
1 changed files with 3 additions and 0 deletions
|
@ -331,6 +331,9 @@ function useSearchResults(query, outfitState) {
|
||||||
setIsEndOfResults(true);
|
setIsEndOfResults(true);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onError: (e) => {
|
||||||
|
console.error("Error loading search results", e);
|
||||||
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue