From 98e43a90a90e5a015896df7acc1b4a189d4219e3 Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Wed, 12 Nov 2025 14:02:52 +0300 Subject: [PATCH] fix undefined --- src/pages/cart/components/CartMobileTabletLayout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/cart/components/CartMobileTabletLayout.tsx b/src/pages/cart/components/CartMobileTabletLayout.tsx index aa2f952..f33ec7e 100644 --- a/src/pages/cart/components/CartMobileTabletLayout.tsx +++ b/src/pages/cart/components/CartMobileTabletLayout.tsx @@ -154,8 +154,8 @@ export default function CartMobileTabletLayout({ }} > {isRTL - ? item.variant?.optionsAR[0].value - : item.variant?.options[0].value} + ? item.variant?.optionsAR?.[0]?.value + : item.variant?.options?.[0]?.value}