|
|
@@ -1,15 +1,14 @@
|
|
|
import React from 'react';
|
|
|
|
|
|
-import { NextPage, GetServerSideProps, GetServerSidePropsContext } from 'next';
|
|
|
+import type { NextPage, GetServerSideProps, GetServerSidePropsContext } from 'next';
|
|
|
import { useTranslation } from 'next-i18next';
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
|
|
|
import Link from 'next/link';
|
|
|
|
|
|
import { forgotPasswordErrorCode } from '~/interfaces/errors/forgot-password';
|
|
|
|
|
|
-import {
|
|
|
- CommonProps, getNextI18NextConfig, getServerSideCommonProps,
|
|
|
-} from './utils/commons';
|
|
|
+import type { CommonProps } from './utils/commons';
|
|
|
+import { getNextI18NextConfig, getServerSideCommonProps } from './utils/commons';
|
|
|
|
|
|
type Props = CommonProps & {
|
|
|
errorCode?: forgotPasswordErrorCode
|
|
|
@@ -43,7 +42,7 @@ const ForgotPasswordErrorsPage: NextPage<Props> = (props: Props) => {
|
|
|
<h2>{ t('forgot_password.incorrect_token_or_expired_url') }</h2>
|
|
|
</div>
|
|
|
<Link href="/forgot-password" className="link-switch" prefetch={false}>
|
|
|
- <i className="icon-key"></i> { t('forgot_password.forgot_password') }
|
|
|
+ <span className="material-symbols-outlined">key</span> { t('forgot_password.forgot_password') }
|
|
|
</Link>
|
|
|
</div>
|
|
|
) }
|