fixes
This commit is contained in:
@@ -376,5 +376,9 @@
|
||||
"save": "حفظ",
|
||||
"location": "العنوان",
|
||||
"pickupTime": "توقيت الاستلام"
|
||||
},
|
||||
"validation": {
|
||||
"phoneRequired": "رقم الهاتف مطلوب",
|
||||
"invalidPhone": "رقم الهاتف غير صالح"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -388,5 +388,9 @@
|
||||
"save": "save",
|
||||
"location": "Location",
|
||||
"pickupTime": "Pickup time"
|
||||
},
|
||||
"validation": {
|
||||
"phoneRequired": "Phone number is required",
|
||||
"invalidPhone": "Invalid phone number"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,8 +78,8 @@ export function MapBottomSheet({
|
||||
title={t("cart.selectLocation")}
|
||||
showCloseButton={true}
|
||||
initialSnap={1}
|
||||
height={"950px"}
|
||||
snapPoints={["950px"]}
|
||||
height={"755px"}
|
||||
snapPoints={["755px"]}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
|
||||
@@ -12,6 +12,7 @@ import { useAppSelector } from "redux/hooks";
|
||||
import { colors, ProBlack2, ProGray1 } from "ThemeConstants";
|
||||
import { AddressSummary } from "../checkout/components/AddressSummary";
|
||||
import styles from "./address.module.css";
|
||||
import ProPhoneInput from "components/ProPhoneInput";
|
||||
|
||||
export default function AddressPage() {
|
||||
const { t } = useTranslation();
|
||||
@@ -120,19 +121,7 @@ export default function AddressPage() {
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
label={t("address.mobileNumber")}
|
||||
name="phone"
|
||||
rules={[{ required: true, message: "" }]}
|
||||
>
|
||||
<Input
|
||||
placeholder={t("address.mobileNumber")}
|
||||
style={{
|
||||
fontSize: 14,
|
||||
}}
|
||||
autoFocus={false}
|
||||
/>
|
||||
</Form.Item>
|
||||
<ProPhoneInput label={t("address.mobileNumber")} propName="phone" />
|
||||
|
||||
<Form.Item
|
||||
label={t("address.addressLabel")}
|
||||
|
||||
@@ -241,8 +241,7 @@ export default function CartMobileTabletLayout({
|
||||
orderType === OrderType.ScheduledOrder) && <CarPlateCard />}
|
||||
|
||||
{/* Estimate Time */}
|
||||
{(orderType === OrderType.Delivery ||
|
||||
orderType === OrderType.Pickup ||
|
||||
{(orderType === OrderType.Pickup ||
|
||||
orderType === OrderType.ScheduledOrder) && <TimeEstimateCard />}
|
||||
|
||||
{/* Collection Method */}
|
||||
|
||||
Reference in New Issue
Block a user