This commit is contained in:
2025-11-15 22:29:15 +03:00
parent 6f2c75d32c
commit 40742d6087
5 changed files with 13 additions and 17 deletions

View File

@@ -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")}

View File

@@ -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 */}