summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-08-08 08:07:23 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-08 08:07:23 +0000
commit99315622e96c7e4b58493ea6ce7998916ec27a6e (patch)
treedd8a292aab41474a3a8e9a7a8c7e3a20c2079182
parent9468bb33e90badaad99d97df54c80da389c39093 (diff)
parent64489b794a80b381d86ea226f0fe36457d5836be (diff)
Merged in Feature/new-cart-popup (pull request #224)
<iman> update quotation pop up bug
-rw-r--r--src/core/components/elements/Navbar/NavbarDesktop.jsx2
-rw-r--r--src/lib/quotation/components/Quotationheader.jsx1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx
index b23b256e..6454c414 100644
--- a/src/core/components/elements/Navbar/NavbarDesktop.jsx
+++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx
@@ -216,7 +216,7 @@ const NavbarDesktop = () => {
<Search />
</div>
<div className='flex gap-x-4 items-center'>
- <Quotationheader quotationCount={quotationCount} />
+ <Quotationheader quotationCount={quotationCount} data={pendingTransactions} />
<Cardheader cartCount={cartCount} />
diff --git a/src/lib/quotation/components/Quotationheader.jsx b/src/lib/quotation/components/Quotationheader.jsx
index 10e3e147..0bb4dfe0 100644
--- a/src/lib/quotation/components/Quotationheader.jsx
+++ b/src/lib/quotation/components/Quotationheader.jsx
@@ -80,6 +80,7 @@ const Quotationheader = (quotationCount) => {
useEffect(() => {
setCountQuotation(quotationCount.quotationCount);
+ setProductQuotation(quotationCount.data);
}, [quotationCount]);
useEffect(() => {