From fbf187e7a2db052bf4fe78cfdbcc7c1cfaa82d75 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 11 Apr 2023 15:00:03 +0700 Subject: fix cart bug --- src/lib/cart/components/Cart.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx index d18b1a28..d0685fe3 100644 --- a/src/lib/cart/components/Cart.jsx +++ b/src/lib/cart/components/Cart.jsx @@ -329,7 +329,7 @@ const Cart = () => { Keranjang belanja anda masih kosong )} - {products?.map((product) => ( + {products && products?.map((product) => (