From 208437f262ecbf3709d1acf384bdf0c53e57bea8 Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Wed, 12 Nov 2025 23:50:35 +0300 Subject: [PATCH] GiftBottomSheet: update phone number --- .../CustomBottomSheet/GiftBottomSheet.tsx | 42 ++++++------------- src/components/ProPhoneInput.tsx | 20 +++++---- 2 files changed, 26 insertions(+), 36 deletions(-) diff --git a/src/components/CustomBottomSheet/GiftBottomSheet.tsx b/src/components/CustomBottomSheet/GiftBottomSheet.tsx index e7e0d2f..0a66906 100644 --- a/src/components/CustomBottomSheet/GiftBottomSheet.tsx +++ b/src/components/CustomBottomSheet/GiftBottomSheet.tsx @@ -1,4 +1,5 @@ import { Button, Checkbox, Form, Input } from "antd"; +import ProPhoneInput from "components/ProPhoneInput"; import { GiftDetailsType } from "features/order/orderSlice"; import { useEffect } from "react"; import { useTranslation } from "react-i18next"; @@ -70,21 +71,13 @@ export function GiftBottomSheet({ autoFocus={false} /> - giftForm.setFieldValue("receiverPhone", phone)} + propName="receiverPhone" label={t("address.receiverPhone")} - rules={[{ required: true, message: "" }]} - colon={false} - > - - + />