From e72c16eb549488e1ed847b022880f542d2a9c525 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Thu, 5 Oct 2023 09:32:12 +0700
Subject: add component list product for cart, quotation, and checkout

---
 src/lib/checkout/components/Checkout.jsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 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 4739cd18..6b7852f2 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -32,6 +32,7 @@ import BottomPopup from '@/core/components/elements/Popup/BottomPopup'
 import { useQuery } from 'react-query'
 import { gtagPurchase } from '@/core/utils/googleTag'
 import { findVoucher, getVoucher } from '../api/getVoucher'
+import CardProdcuctsList from '@/core/components/elements/Product/cartProductsList'
 
 const SELF_PICKUP_ID = 32
 
@@ -988,7 +989,10 @@ const Checkout = () => {
 
               <div className='p-4'>
                 <div className='font-medium'>Detail Pesanan</div>
-                <table className='table-checkout'>
+                
+                <CardProdcuctsList isLoading={isLoading} products={products} />
+                
+                {/* <table className='table-checkout'>
                   <thead>
                     <tr>
                       <th>Nama Produk</th>
@@ -1148,7 +1152,7 @@ const Checkout = () => {
                       ))
                     )}
                   </tbody>
-                </table>
+                </table> */}
               </div>
             </div>
             <div className='w-1/4 pl-4'>
-- 
cgit v1.2.3

