diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/checkout/components/Checkout.jsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx index 8048eeba..4d7b2b88 100644 --- a/src/lib/checkout/components/Checkout.jsx +++ b/src/lib/checkout/components/Checkout.jsx @@ -15,6 +15,7 @@ import { toast } from 'react-hot-toast' import getFileBase64 from '@/core/utils/getFileBase64' import checkoutApi from '../api/checkoutApi' import { useRouter } from 'next/router' +import VariantGroupCard from '@/lib/variant/components/VariantGroupCard' const Checkout = () => { const router = useRouter() @@ -158,11 +159,7 @@ const Checkout = () => { <div className='p-4 flex flex-col gap-y-4'> {products?.map((product) => ( - <VariantCard - product={product} - openOnClick={false} - key={product.id} - /> + <VariantGroupCard variants={product} key={product.id} openOnClick={false} /> ))} </div> |
