import { Form, Input } from "antd"; import ProInputCard from "components/ProInputCard/ProInputCard.tsx"; import { selectCart, updatePhone } from "features/order/orderSlice"; import { useTranslation } from "react-i18next"; import { useAppDispatch, useAppSelector } from "redux/hooks"; export default function PhoneCard() { const { t } = useTranslation(); const dispatch = useAppDispatch(); const { phone } = useAppSelector(selectCart); return ( <> dispatch(updatePhone(e.target.value))} /> ); }