From 40742d60872dac63c79549aa645b0ed4313fdeb8 Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Sat, 15 Nov 2025 22:29:15 +0300 Subject: [PATCH] fixes --- src/assets/locals/ar.json | 4 ++++ src/assets/locals/en.json | 4 ++++ .../CustomBottomSheet/MapBottomSheet.tsx | 4 ++-- src/pages/address/page.tsx | 15 ++------------- .../cart/components/CartMobileTabletLayout.tsx | 3 +-- 5 files changed, 13 insertions(+), 17 deletions(-) diff --git a/src/assets/locals/ar.json b/src/assets/locals/ar.json index 1435f1c..a8c0238 100644 --- a/src/assets/locals/ar.json +++ b/src/assets/locals/ar.json @@ -376,5 +376,9 @@ "save": "حفظ", "location": "العنوان", "pickupTime": "توقيت الاستلام" + }, + "validation": { + "phoneRequired": "رقم الهاتف مطلوب", + "invalidPhone": "رقم الهاتف غير صالح" } } diff --git a/src/assets/locals/en.json b/src/assets/locals/en.json index 5d2c51a..82d1526 100644 --- a/src/assets/locals/en.json +++ b/src/assets/locals/en.json @@ -388,5 +388,9 @@ "save": "save", "location": "Location", "pickupTime": "Pickup time" + }, + "validation": { + "phoneRequired": "Phone number is required", + "invalidPhone": "Invalid phone number" } } diff --git a/src/components/CustomBottomSheet/MapBottomSheet.tsx b/src/components/CustomBottomSheet/MapBottomSheet.tsx index ba80776..ac7e09a 100644 --- a/src/components/CustomBottomSheet/MapBottomSheet.tsx +++ b/src/components/CustomBottomSheet/MapBottomSheet.tsx @@ -78,8 +78,8 @@ export function MapBottomSheet({ title={t("cart.selectLocation")} showCloseButton={true} initialSnap={1} - height={"950px"} - snapPoints={["950px"]} + height={"755px"} + snapPoints={["755px"]} >
- - - + } {/* Estimate Time */} - {(orderType === OrderType.Delivery || - orderType === OrderType.Pickup || + {(orderType === OrderType.Pickup || orderType === OrderType.ScheduledOrder) && } {/* Collection Method */}