diff --git a/.changeset/sour-falcons-yawn.md b/.changeset/sour-falcons-yawn.md new file mode 100644 index 0000000000..241def98ef --- /dev/null +++ b/.changeset/sour-falcons-yawn.md @@ -0,0 +1,5 @@ +--- +'@graphcommerce/magento-graphcms': patch +--- + +Add missing gutter to /checkout/item page diff --git a/examples/magento-graphcms/pages/checkout/item/[url].tsx b/examples/magento-graphcms/pages/checkout/item/[url].tsx index 88ff760fff..d67dd73128 100644 --- a/examples/magento-graphcms/pages/checkout/item/[url].tsx +++ b/examples/magento-graphcms/pages/checkout/item/[url].tsx @@ -18,7 +18,7 @@ import { } from '@graphcommerce/next-ui' import { i18n } from '@lingui/core' import { Trans } from '@lingui/react' -import { CircularProgress, Typography } from '@mui/material' +import { CircularProgress, Container, Typography } from '@mui/material' import { useRouter } from 'next/router' import { LayoutNavigationProps, AddProductsToCartView } from '../../../components' import { Props, getStaticProps } from '../../p/[url]' @@ -65,35 +65,37 @@ function CartItemEdit(props: Props) { )} {cartItem && ( - - + ({ - maxWidth: '500px', - mb: 0, - '& .SidebarGallery-sidebar': { display: 'grid', rowGap: theme.spacings.sm }, - })} + cartItem={cartItem} + defaultValues={defaultValues} + redirect={false} + disableSuccessSnackbar > - - - - - - - ({ my: theme.spacings.sm })} /> - - + ({ + maxWidth: '500px', + mb: 0, + '& .SidebarGallery-sidebar': { display: 'grid', rowGap: theme.spacings.sm }, + })} + > + + + + + + + ({ my: theme.spacings.sm })} /> + + + )}