diff --git a/app/(prowler)/providers/page.tsx b/app/(prowler)/providers/page.tsx index 60af8b9e49..edb487b987 100644 --- a/app/(prowler)/providers/page.tsx +++ b/app/(prowler)/providers/page.tsx @@ -27,7 +27,6 @@ export default function Providers() {
Modal body content
> } - actionText="Save" onAction={onAction} /> > diff --git a/components/ui/modal/Modal.tsx b/components/ui/modal/Modal.tsx index 7c18d750a6..1344ec9ecf 100644 --- a/components/ui/modal/Modal.tsx +++ b/components/ui/modal/Modal.tsx @@ -13,6 +13,7 @@ interface ModalProps { isOpen: boolean; onOpenChange: (isOpen: boolean) => void; body: React.ReactNode; + onCloseText?: string; actionText?: string; onAction?: () => void; isDismissable?: boolean; @@ -23,7 +24,8 @@ export const Modal: React.FC