summaryrefslogtreecommitdiff
path: root/src/lib/cart/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cart/components')
-rw-r--r--src/lib/cart/components/Cartheader.jsx3
1 files changed, 3 insertions, 0 deletions
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'>