@@ -5,7 +5,6 @@ import { withTranslation } from 'react-i18next';
const DuplicatedAlert = (props) => {
const { t } = props;
-
const urlParams = new URLSearchParams(window.location.search);
const fromPath = urlParams.get('duplicated');
@@ -7,6 +7,7 @@ const RedirectedAlert = (props) => {
const fromPath = urlParams.get('redirectFrom');
+
return (
<>
<strong>{ t('Redirected') }:</strong>{ t('page_page.notice.redirected')} <code>{fromPath}</code> {t('page_page.notice.redirected_period')}