summaryrefslogtreecommitdiff
path: root/src/lib/cart/components/Cart.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-03-28 16:32:45 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-03-28 16:32:45 +0700
commitf15a7f8a4387d215abd1051ee520adca8944fa05 (patch)
treea51a50ba27a53ff03da38c388e36a17149ad60fa /src/lib/cart/components/Cart.jsx
parent8ca9069251873e87338f1c7f581b418bebb11e9a (diff)
checkout, quotation
Diffstat (limited to 'src/lib/cart/components/Cart.jsx')
-rw-r--r--src/lib/cart/components/Cart.jsx2
1 files changed, 1 insertions, 1 deletions
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) => {