mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
clean console log
This commit is contained in:
parent
3afc174b15
commit
ce28ea2c00
@ -32,9 +32,6 @@ export default function getAllProductPathsOperation({
|
|||||||
|
|
||||||
if (searchResults.total) {
|
if (searchResults.total) {
|
||||||
products = normalizeSearchProducts(searchResults.hits)
|
products = normalizeSearchProducts(searchResults.hits)
|
||||||
} else {
|
|
||||||
// TODO: handle this better?
|
|
||||||
console.log('No results for search')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -30,10 +30,8 @@ export default function getAllProductsOperation({
|
|||||||
|
|
||||||
if (searchResults.total) {
|
if (searchResults.total) {
|
||||||
products = normalizeSearchProducts(searchResults.hits)
|
products = normalizeSearchProducts(searchResults.hits)
|
||||||
} else {
|
|
||||||
// TODO: handle this better?
|
|
||||||
console.log('No results for search')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
products: products,
|
products: products,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user