diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-16 11:16:33 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-16 11:16:57 +0700 |
| commit | 6aa5fa70cf5ccd2825e5657ec1a90e370dea3bcf (patch) | |
| tree | ea0472ba64ce6f40db8019400a72915202f0e995 /src/core/components/elements/Navbar | |
| parent | 43e59b8c7f8b742e5781a8a8b991afcf9aabb90e (diff) | |
Fix buy action before and after login
Diffstat (limited to 'src/core/components/elements/Navbar')
| -rw-r--r-- | src/core/components/elements/Navbar/NavbarDesktop.jsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx index fb94e4a6..d9f5658e 100644 --- a/src/core/components/elements/Navbar/NavbarDesktop.jsx +++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx @@ -40,7 +40,7 @@ const NavbarDesktop = () => { const router = useRouter() const { product } = useProductContext() - + useEffect(() => { if (router.pathname === '/shop/product/[slug]') { setPayloadWa({ @@ -110,7 +110,9 @@ const NavbarDesktop = () => { <br /> Quotation </Link> - <Cardheader cartCount={cartCount}/> + + <Cardheader cartCount={cartCount} /> + <Link target='_blank' rel='noreferrer' @@ -134,6 +136,7 @@ const NavbarDesktop = () => { </a> </div> </div> + <div className='container mx-auto mt-6'> <div className='flex'> <button |
