From 7c170bdbb4b1307993f9a808925f1578c3a6a3b3 Mon Sep 17 00:00:00 2001 From: stepan <133258815+stpn48@users.noreply.github.com> Date: Sat, 5 Oct 2024 18:21:30 +0200 Subject: [PATCH] refactor(OpenCart): enhance readability by cleaning up conditional rendering --- components/cart/open-cart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cart/open-cart.tsx b/components/cart/open-cart.tsx index 902dc4f98..3d055f03e 100644 --- a/components/cart/open-cart.tsx +++ b/components/cart/open-cart.tsx @@ -14,11 +14,11 @@ export default function OpenCart({ className={clsx('h-4 transition-all ease-in-out hover:scale-110', className)} /> - {quantity ? ( + {quantity &&