Initial commit

This commit is contained in:
2025-10-04 18:22:24 +03:00
commit 2852c2c054
291 changed files with 38109 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import ActionsButtons from "components/ActionsButtons/ActionsButtons";
import { selectCart, setTmp } from "features/order/orderSlice";
import { useAppDispatch, useAppSelector } from "redux/hooks";
export default function TotalPeopleActions() {
const dispatch = useAppDispatch();
const { tmp } = useAppSelector(selectCart);
return (
<ActionsButtons
quantity={tmp?.totalPeople || 1}
setQuantity={(value) => dispatch(setTmp({ ...tmp, totalPeople: value }))}
max={10}
min={1}
/>
);
}