diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-09-22 16:43:11 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-09-22 16:43:11 +0700 |
| commit | 562f5c23badaeb8640236de38193dccf38d6d1ed (patch) | |
| tree | a967cbf2a5a7b150fdd00d1e8caae85455176069 /src/lib/cart/components/Cartheader.jsx | |
| parent | 8e4e981060b612f5d21f141d62656df80e2a0a4b (diff) | |
update variant
Diffstat (limited to 'src/lib/cart/components/Cartheader.jsx')
| -rw-r--r-- | src/lib/cart/components/Cartheader.jsx | 3 |
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'> |
