From 6aa5fa70cf5ccd2825e5657ec1a90e370dea3bcf Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 16 Oct 2023 11:16:33 +0700
Subject: Fix buy action before and after login

---
 src/core/components/elements/Navbar/NavbarDesktop.jsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src/core/components/elements/Navbar/NavbarDesktop.jsx')

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
-- 
cgit v1.2.3

