diff --git a/src/app/molecules/confirm-dialog/ConfirmDialog.jsx b/src/app/molecules/confirm-dialog/ConfirmDialog.jsx index da8f60e1..2e4f8ee9 100644 --- a/src/app/molecules/confirm-dialog/ConfirmDialog.jsx +++ b/src/app/molecules/confirm-dialog/ConfirmDialog.jsx @@ -2,25 +2,24 @@ import React from 'react'; import PropTypes from 'prop-types'; import './ConfirmDialog.scss'; +import { useTranslation } from 'react-i18next'; import { openReusableDialog } from '../../../client/action/navigation'; import Text from '../../atoms/text/Text'; import Button from '../../atoms/button/Button'; -import '../../i18n.jsx' -import { useTranslation } from 'react-i18next'; +import '../../i18n'; function ConfirmDialog({ desc, actionTitle, actionType, onComplete, }) { - const { t } = useTranslation(); return (