fixes
This commit is contained in:
@@ -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