From e16fea4b0ff9661fd15a32089fbfc0c6a1c903fe Mon Sep 17 00:00:00 2001 From: Paul Hachmang Date: Mon, 12 Feb 2024 16:10:23 +0100 Subject: [PATCH] Fix issue where patches would not be applied correctly on the AddProductsAddToCartForm --- .changeset/thirty-news-attend.md | 5 +++++ .../components/ProductListItems/ProductListItemsBase.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/thirty-news-attend.md diff --git a/.changeset/thirty-news-attend.md b/.changeset/thirty-news-attend.md new file mode 100644 index 0000000000..aae144e6bb --- /dev/null +++ b/.changeset/thirty-news-attend.md @@ -0,0 +1,5 @@ +--- +"@graphcommerce/magento-product": patch +--- + +Fix issue where patches would not be applied correctly on the AddProductsAddToCartForm diff --git a/packages/magento-product/components/ProductListItems/ProductListItemsBase.tsx b/packages/magento-product/components/ProductListItems/ProductListItemsBase.tsx index 944feefe6a..66be250b3c 100644 --- a/packages/magento-product/components/ProductListItems/ProductListItemsBase.tsx +++ b/packages/magento-product/components/ProductListItems/ProductListItemsBase.tsx @@ -1,7 +1,7 @@ import { LazyHydrate, RenderType, extendableComponent, responsiveVal } from '@graphcommerce/next-ui' import { Box, BoxProps } from '@mui/material' import { ProductListItemFragment } from '../../Api/ProductListItem.gql' -import { AddProductsToCartForm } from '../AddProductsToCart' +import { AddProductsToCartForm } from '../../index' import { ProductListItemProps } from '../ProductListItem/ProductListItem' import { ProductListItemRenderer } from './renderer'