diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-08-08 07:12:21 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-08-08 07:12:21 +0000 |
| commit | 9468bb33e90badaad99d97df54c80da389c39093 (patch) | |
| tree | 78e6f75daf1111fa2d5d1c5b665c0845958b1fae /src/core/components | |
| parent | 1056bb941a642b3f173a036d5978cf79b94932b9 (diff) | |
| parent | 079f8029445fdd243e267a4af7c7a4d5780afa24 (diff) | |
Merged in Feature/new-cart-popup (pull request #223)
<iman> update pop up quotation & cart
Diffstat (limited to 'src/core/components')
| -rw-r--r-- | src/core/components/elements/Navbar/NavbarDesktop.jsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx index 3326ff83..b23b256e 100644 --- a/src/core/components/elements/Navbar/NavbarDesktop.jsx +++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx @@ -42,8 +42,6 @@ const NavbarDesktop = () => { const [cartCount, setCartCount] = useState(0); const [quotationCount, setQuotationCount] = useState(0); - const { productCart, setProductCart, refreshCart, setRefreshCart, isLoading, setIsloading, productQuotation, setProductQuotation, refreshQuotation, setRefreshQuotation } = - useProductCartContext(); const [pendingTransactions, setPendingTransactions] = useState([]) const [templateWA, setTemplateWA] = useState(null); const [payloadWA, setPayloadWa] = useState(null); @@ -106,7 +104,6 @@ const NavbarDesktop = () => { }, []); useEffect(() => { - setProductQuotation(data); setPendingTransactions(data); }, [transactions.data]); |
