summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-08 15:06:37 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-08 15:06:37 +0700
commit64489b794a80b381d86ea226f0fe36457d5836be (patch)
treefb23e57a9f0919a7ee4edaf6556bf72696784bf0 /src
parent079f8029445fdd243e267a4af7c7a4d5780afa24 (diff)
<iman> update quotation pop up bug
Diffstat (limited to 'src')
-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 2e8c982e..1163aff3 100644
--- a/src/core/components/elements/Navbar/NavbarDesktop.jsx
+++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx
@@ -175,7 +175,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(() => {