import {Alert, Container, Modal} from "@mantine/core"; import React from "react"; import {useTranslation} from "react-i18next"; interface ModalErrorProps { show: boolean onClose: () => void } export default function ModalError({ show, onClose }: ModalErrorProps) { const { t } = useTranslation('feedbackSupport', { useSuspense: false }) return ( {t('ModalError.text')} ) }