diff --git a/components/search/SearchResult.tsx b/components/search/SearchResult.tsx index f8eaec8..ebeb404 100644 --- a/components/search/SearchResult.tsx +++ b/components/search/SearchResult.tsx @@ -27,7 +27,6 @@ export interface Props { */ highlights?: HighLight[]; /** - * * @description Not found section, displayed when no products are found */ notFoundSection: Section; @@ -36,10 +35,9 @@ export interface Props { function Result({ page, variant, - highlights + highlights, }: Omit, "notFoundSection"> & { page: ProductListingPage; - }) { const { products, filters, breadcrumb, pageInfo, sortOptions } = page; @@ -48,7 +46,7 @@ function Result({ Produtos encontrados: {pageInfo.records} resultados ); - + return ( <>
@@ -84,7 +82,7 @@ function Result({ {productsFound}
- +
@@ -122,6 +120,7 @@ function SearchResult( return ; } + console.log("Page Data: ", page); return ; } diff --git a/deno.json b/deno.json index 33642ee..bcbb49e 100644 --- a/deno.json +++ b/deno.json @@ -30,8 +30,8 @@ "deco-sites/lojastopmoveis/": "./", "$store/": "./", "deco-sites/std/": "https://denopkg.com/deco-sites/std@1.26.6/", - "$live/": "https://denopkg.com/deco-cx/deco@1.75.2/", - "deco/": "https://denopkg.com/deco-cx/deco@1.75.2/", + "$live/": "https://denopkg.com/deco-cx/deco@1186959dee2de7cfa71060446c0189aa99665d8d/", + "deco/": "https://denopkg.com/deco-cx/deco@1186959dee2de7cfa71060446c0189aa99665d8d/", "$fresh/": "https://deno.land/x/fresh@1.6.5/", "preact": "https://esm.sh/preact@10.19.2", "preact/": "https://esm.sh/preact@10.19.2/",