From f15a7f8a4387d215abd1051ee520adca8944fa05 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 28 Mar 2023 16:32:45 +0700
Subject: checkout, quotation

---
 src/lib/cart/components/Cart.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/cart/components/Cart.jsx')

diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx
index 7ebee14b..8d995103 100644
--- a/src/lib/cart/components/Cart.jsx
+++ b/src/lib/cart/components/Cart.jsx
@@ -115,7 +115,7 @@ const Cart = () => {
 
   const selectedProduct = () => {
     if (!products) return []
-    return products?.filter((product) => product.selected == true)
+    return products?.filter((product) => product?.selected == true)
   }
 
   const deleteProduct = (productId) => {
-- 
cgit v1.2.3

