From 562f5c23badaeb8640236de38193dccf38d6d1ed Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Fri, 22 Sep 2023 16:43:11 +0700
Subject: update variant

---
 src/lib/cart/components/Cartheader.jsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/lib/cart/components/Cartheader.jsx')

diff --git a/src/lib/cart/components/Cartheader.jsx b/src/lib/cart/components/Cartheader.jsx
index 863b8a46..085b9408 100644
--- a/src/lib/cart/components/Cartheader.jsx
+++ b/src/lib/cart/components/Cartheader.jsx
@@ -8,6 +8,7 @@ import { useRouter } from 'next/router'
 import odooApi from '@/core/api/odooApi'
 import { useProductCartContext } from '@/contexts/ProductCartContext'
 import whatsappUrl from '@/core/utils/whatsappUrl'
+import SummaryProduct from '@/core/components/elements/Product/SummaryProduct'
 
 const { ShoppingCartIcon, PhotoIcon } = require('@heroicons/react/24/outline')
 const { default: Link } = require('next/link')
@@ -73,6 +74,7 @@ const Cardheader = (cartCount) => {
   useEffect(() => {
     if (refreshCart) {
       refreshCartf()
+      console.log('ini masuk')
     }
     setRefreshCart(false)
   }, [refreshCart, refreshCartf, setRefreshCart])
@@ -131,6 +133,7 @@ const Cardheader = (cartCount) => {
             </Link>
           </div>
           <hr className='mt-3 mb-3 border border-gray-100' />
+          {/* <SummaryProduct products = {products} isLoading={isLoading} itemLoading = {itemLoading}/> */}
           <div className='flow-root max-h-[250px] overflow-y-auto'>
             {!auth && (
               <div className='justify-center p-4'>
-- 
cgit v1.2.3

