refactor special request & time estimate components
This commit is contained in:
@@ -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
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user