Skip to content

Commit

Permalink
Solve build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
paales committed Jan 26, 2025
1 parent 47e8ba7 commit ebd6a84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/magento-graphcms/pages/search/[[...url]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function SearchResultPage(props: SearchResultProps) {
<SearchField size='small' formControl={{ sx: { width: '81vw' } }} />
</LayoutHeader>

<PrivateQueryMaskProvider mask={productList.mask}>
<PrivateQueryMaskProvider mask={mask}>
{import.meta.graphCommerce.productFiltersPro &&
import.meta.graphCommerce.productFiltersLayout === 'SIDEBAR' && (
<ProductListLayoutSidebar {...productList} menu={menu} />
Expand Down
2 changes: 1 addition & 1 deletion examples/magento-open-source/pages/search/[[...url]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function SearchResultPage(props: SearchResultProps) {
<SearchField size='small' formControl={{ sx: { width: '81vw' } }} />
</LayoutHeader>

<PrivateQueryMaskProvider mask={productList.mask}>
<PrivateQueryMaskProvider mask={mask}>
{import.meta.graphCommerce.productFiltersPro &&
import.meta.graphCommerce.productFiltersLayout === 'SIDEBAR' && (
<ProductListLayoutSidebar {...productList} menu={menu} />
Expand Down

0 comments on commit ebd6a84

Please sign in to comment.