import { useTranslation } from 'react-i18next' import withErrorBoundary from '../../../infrastructure/error-boundary' import Notification from '@/shared/components/notification' import TemplateActionModal from './template-action-modal' type DeleteTemplateModalProps = Pick< React.ComponentProps, 'template' | 'actionHandler' | 'showModal' | 'handleCloseModal' > function DeleteTemplateModal({ template, actionHandler, showModal, handleCloseModal, }: DeleteTemplateModalProps) { const { t } = useTranslation() return (

{t('about_to_delete_template')}

) } export default withErrorBoundary(DeleteTemplateModal)