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