cart: remove extra items container

This commit is contained in:
2025-10-11 11:16:42 +03:00
parent 0035a84dea
commit c3f3c9bd49
4 changed files with 117 additions and 151 deletions

View File

@@ -1,13 +1,12 @@
import ProRatioGroups from "components/ProRatioGroups/ProRatioGroups.tsx";
import ProInputCard from "components/ProInputCard/ProInputCard.tsx";
import ProRatioGroups from "components/ProRatioGroups/ProRatioGroups.tsx";
import { selectCart, updateEstimateTime } from "features/order/orderSlice.ts";
import useBreakPoint from "hooks/useBreakPoint.ts";
import { BottomSheet } from "pages/cart/components/timeEstimate/BottomSheet.tsx";
import { Dialog } from "pages/cart/components/timeEstimate/Dialog.tsx";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import { updateEstimateTime, selectCart } from "features/order/orderSlice.ts";
import { message } from "antd";
import { BottomSheet } from "pages/cart/components/timeEstimate/BottomSheet.tsx";
import { useAppDispatch, useAppSelector } from "redux/hooks.ts";
import useBreakPoint from "hooks/useBreakPoint.ts";
import { Dialog } from "pages/cart/components/timeEstimate/Dialog.tsx";
export default function TimeEstimateCard() {
const { t } = useTranslation();
@@ -19,7 +18,6 @@ export default function TimeEstimateCard() {
const handleEstimateTimeSave = (date: Date, time: string) => {
dispatch(updateEstimateTime({ date, time }));
message.success(t("cart.estimateTime") + " " + t("updatedSuccessfully"));
};
const handleEstimateTimeClose = () => {