mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 23:16: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) {
|
||||
products = normalizeSearchProducts(searchResults.hits)
|
||||
} else {
|
||||
// TODO: handle this better?
|
||||
console.log('No results for search')
|
||||
}
|
||||
|
||||
return {
|
||||
|
@ -30,10 +30,8 @@ export default function getAllProductsOperation({
|
||||
|
||||
if (searchResults.total) {
|
||||
products = normalizeSearchProducts(searchResults.hits)
|
||||
} else {
|
||||
// TODO: handle this better?
|
||||
console.log('No results for search')
|
||||
}
|
||||
|
||||
return {
|
||||
products: products,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user