import { Checkbox, Form, Input } from "antd"; import ProInputCard from "components/ProInputCard/ProInputCard"; import ProPhoneInput from "components/ProPhoneInput"; import ProText from "components/ProText"; import { selectCart, updateOrder } from "features/order/orderSlice"; import { useTranslation } from "react-i18next"; import { useAppDispatch, useAppSelector } from "redux/hooks"; const { TextArea } = Input; export function GiftCard() { const { t } = useTranslation(); const { order } = useAppSelector(selectCart); const dispatch = useAppDispatch(); return ( <> { dispatch(updateOrder({ ...order, receiverPhone: e })); }} />