diff --git a/src/components/extensive/Modal/ModalApprove.tsx b/src/components/extensive/Modal/ModalApprove.tsx index 94c56140f..f4e66c4f9 100644 --- a/src/components/extensive/Modal/ModalApprove.tsx +++ b/src/components/extensive/Modal/ModalApprove.tsx @@ -4,7 +4,8 @@ import { When } from "react-if"; import Button from "@/components/elements/Button/Button"; import Checkbox from "@/components/elements/Inputs/Checkbox/Checkbox"; -// import Status from "@/components/elements/Status/Status"; +import { StatusEnum } from "@/components/elements/Status/constants/statusMap"; +import Status from "@/components/elements/Status/Status"; import Text from "@/components/elements/Text/Text"; import Icon, { IconNames } from "../Icon/Icon"; @@ -16,7 +17,7 @@ export interface ModalApproveProps extends ModalProps { primaryButtonText?: string; secondaryButtonText?: string; toogleButton?: boolean; - status?: "under-review" | "approved" | "draft" | "submitted"; + status?: StatusEnum; onClose?: () => void; } @@ -41,7 +42,7 @@ const ModalApprove: FC = ({
- {/* */} +