diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-31 09:42:34 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-31 09:42:34 +0700 |
| commit | cf3bcd1f3d1e0649204a786e9532a099772dad85 (patch) | |
| tree | f0ec7e2a61e564a72d8703f09b73e79084ed99e1 /src | |
| parent | 6a0c477de3df773f2a818b904029624c212f083f (diff) | |
<iman> update cart pop up
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/components/elements/Navbar/NavbarDesktop.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx index 0d0e8550..ff08a4a1 100644 --- a/src/core/components/elements/Navbar/NavbarDesktop.jsx +++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx @@ -136,7 +136,7 @@ const NavbarDesktop = () => { return () => { window.removeEventListener('localStorageChange', handleCartChange); }; - }, []); + }, [transactions.data]); useEffect(() => { const handleQuotationChange = () => { |
