summaryrefslogtreecommitdiff
path: root/src/lib/cart/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cart/components')
-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) => {