summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Navbar/NavbarDesktop.jsx
diff options
context:
space:
mode:
authortrisusilo <tri.susilo@altama.co.id>2023-10-18 09:21:18 +0000
committertrisusilo <tri.susilo@altama.co.id>2023-10-18 09:21:18 +0000
commit0a88ef1da1c04f4d40c0133edb7d27701c7a9746 (patch)
treeae3768ba44054d51b1abcc0dcc90d18d4895e412 /src/core/components/elements/Navbar/NavbarDesktop.jsx
parentb4b17e22832a4665042a45030b77c3744fe61534 (diff)
parent2a84fb3ce03cfa46cb3c7664e988957e1bd2731b (diff)
Merged in CR/UI (pull request #104)
CR/UI
Diffstat (limited to 'src/core/components/elements/Navbar/NavbarDesktop.jsx')
-rw-r--r--src/core/components/elements/Navbar/NavbarDesktop.jsx7
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