import {Alert, Container, Modal, Stack} from "@mantine/core"; import React from "react"; import {useTranslation} from "react-i18next"; interface ModalSuccessProps { show: boolean onClose: () => void taskUrl?: string } export default function ModalSuccess({ show, onClose, taskUrl }: ModalSuccessProps) { const { t } = useTranslation('feedbackSupport', { useSuspense: false }) return (
{t('ModalSuccess.text')}
{taskUrl !== undefined &&
{t('ModalSuccess.taskUrlText')}: {taskUrl}
}
) }