feat: add translation

This commit is contained in:
JimmFly
2023-01-04 17:10:47 +08:00
parent 1bc2dcd661
commit 0b61f4a2a0
16 changed files with 118 additions and 90 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
import { NotFoundTitle, PageContainer } from './styles';
import { useTranslation } from 'react-i18next';
export const NotfoundPage = () => {
const { t } = useTranslation();
return (
<PageContainer>
<NotFoundTitle>404 - Page Not Found</NotFoundTitle>
<NotFoundTitle>{t('404 - Page Not Found')}</NotFoundTitle>
</PageContainer>
);
};