From edc3f04078da7fc7d53cabf3b397f02193306d67 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Thu, 23 Feb 2023 11:32:27 +0700
Subject: fix

---
 src/lib/checkout/components/Checkout.jsx | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

(limited to 'src/lib/checkout/components/Checkout.jsx')

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>
 
-- 
cgit v1.2.3

