From 07817bbdc1f1ae29c848e5dfdb3ac5b140f48cc4 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 10 May 2023 11:40:53 +0700 Subject: Bug fixing cart badge, class attribute, whatsapp url --- src/core/components/elements/Navbar/NavbarMobile.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/core/components/elements/Navbar/NavbarMobile.jsx') diff --git a/src/core/components/elements/Navbar/NavbarMobile.jsx b/src/core/components/elements/Navbar/NavbarMobile.jsx index 7ac967fa..b69e86e8 100644 --- a/src/core/components/elements/Navbar/NavbarMobile.jsx +++ b/src/core/components/elements/Navbar/NavbarMobile.jsx @@ -43,9 +43,11 @@ const NavbarMobile = () => { - - {cartCount} - + {cartCount > 0 && ( + + {cartCount} + + )}