diff --git a/client/src/components/search/Search.js b/client/src/components/search/Search.js index 8b4fc7a..23a166a 100644 --- a/client/src/components/search/Search.js +++ b/client/src/components/search/Search.js @@ -55,21 +55,6 @@ function Search({ loading, setLoading }) { )} - {searchResults.results.products && searchResults.results.products.length > 0 && ( -
-

Products ({searchResults.results.products.length})

-
- {searchResults.results.products.map(product => ( -
-
{product.name}
-

${product.price} - {product.category}

-

Stock: {product.stock}

-
- ))} -
-
- )} - {searchResults.results.tasks && searchResults.results.tasks.length > 0 && (

Tasks ({searchResults.results.tasks.length})