diff --git a/resources/scripts/components/elements/ConfirmationModal.tsx b/resources/scripts/components/elements/ConfirmationModal.tsx index 7233731f5..faff242a5 100644 --- a/resources/scripts/components/elements/ConfirmationModal.tsx +++ b/resources/scripts/components/elements/ConfirmationModal.tsx @@ -7,18 +7,19 @@ import ModalContext from '@/context/ModalContext'; type Props = { title: string; buttonText: string; - children: string; onConfirmed: () => void; showSpinnerOverlay?: boolean; }; -const ConfirmationModal = ({ title, children, buttonText, onConfirmed }: Props) => { +const ConfirmationModal: React.FC = ({ title, children, buttonText, onConfirmed }) => { const { dismiss } = useContext(ModalContext); return ( <>

{title}

-

{children}

+
+ {children} +