refactor special request & time estimate components

This commit is contained in:
2025-10-11 10:55:19 +03:00
parent cef2804ee6
commit 3ea54c0b3d
9 changed files with 69 additions and 86 deletions

View File

@@ -1,4 +1,4 @@
import { Button, Modal } from "antd";
import { Modal } from "antd";
import { useTranslation } from "react-i18next";
import Content from "pages/cart/components/timeEstimate/Content.tsx";
@@ -23,11 +23,7 @@ export function Dialog({
title={t("cart.selectTimeEstimate")}
open={isOpen}
onCancel={onClose}
footer={[
<Button key="cancel" onClick={onClose}>
{t("cart.cancel")}
</Button>,
]}
footer={[]}
width={500}
destroyOnHidden
>