diff --git a/examples/magento-graphcms/pages/p/[url].tsx b/examples/magento-graphcms/pages/p/[url].tsx index 44ab510eec..73de53907b 100644 --- a/examples/magento-graphcms/pages/p/[url].tsx +++ b/examples/magento-graphcms/pages/p/[url].tsx @@ -187,13 +187,11 @@ function ProductPage(props: Props) { }} /> )} - - } - exclude={[product.sku]} - productListRenderer={productListRenderer} - /> - + } + exclude={[product.sku]} + productListRenderer={productListRenderer} + /> ) } diff --git a/packages/demo-magento-graphcommerce/plugins/demo/DemoRecentlyViewedProducts.tsx b/packages/demo-magento-graphcommerce/plugins/demo/DemoRecentlyViewedProducts.tsx index 949008baa8..b7f0a0918a 100644 --- a/packages/demo-magento-graphcommerce/plugins/demo/DemoRecentlyViewedProducts.tsx +++ b/packages/demo-magento-graphcommerce/plugins/demo/DemoRecentlyViewedProducts.tsx @@ -1,3 +1,4 @@ +import { AddProductsToCartForm } from '@graphcommerce/magento-product' import { useRecentlyViewedProducts, useRecentlyViewedSkus, @@ -41,17 +42,19 @@ function DemoRecentlyViewedProducts(props: PluginProps
- {title}}> - {filterNonNullableKeys([...loadingProducts, ...productList.products]).map((item) => ( - - ))} - + + {title}}> + {filterNonNullableKeys([...loadingProducts, ...productList.products]).map((item) => ( + + ))} + + ) }