fix missed props

This commit is contained in:
2025-11-13 21:50:41 +03:00
parent a62ba5028f
commit 6f2c75d32c
2 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
import ProInputCard from "components/ProInputCard/ProInputCard.tsx";
import ProPhoneInput from "components/ProPhoneInput";
import { selectCart } from "features/order/orderSlice";
import { OrderType } from "pages/checkout/hooks/types.ts";
import { useTranslation } from "react-i18next";
import { useAppSelector } from "redux/hooks";
import { OrderType } from "pages/checkout/hooks/types.ts";
export default function PhoneCard() {
const { t } = useTranslation();
@@ -13,7 +13,7 @@ export default function PhoneCard() {
orderType !== OrderType.Gift && (
<>
<ProInputCard title={t("checkout.phoneNumber")}>
<ProPhoneInput />
<ProPhoneInput label={t("login.phone")} propName="phone" />
</ProInputCard>
</>
)