update order details each 10 s and enhance the steppers UI and logic

This commit is contained in:
2025-11-13 00:18:23 +03:00
parent 208437f262
commit 8f23ab9cc3
3 changed files with 92 additions and 67 deletions

View File

@@ -6,16 +6,20 @@ import { useAppDispatch, useAppSelector } from "redux/hooks";
export default function CarPlateCard() {
const { t } = useTranslation();
const dispatch = useAppDispatch()
const dispatch = useAppDispatch();
const {plateCar} = useAppSelector(state => state.order)
const plateCar = useAppSelector((state) => state.order.plateCar);
return (
<>
<ProInputCard
title={t("cart.plateNumber")}
dividerStyle={{ margin: "5px 0 0 0" }}
>
<Form.Item label={t("cart.plateNumber")} name="plateNumber" style={{position:"relative", top: -5}}>
<Form.Item
label={t("cart.plateNumber")}
name="plateNumber"
style={{ position: "relative", top: -5 }}
>
<Input
placeholder={t("cart.plateNumber")}
size="large"