openreplay/frontend/app/components/shared/NotFoundPage.tsx
Andrey Babushkin fd5c0c9747
Add lokalisation (#3092)
* applied eslint

* add locales and lint the project

* removed error boundary

* updated locales

* fix min files

* fix locales
2025-03-06 17:43:15 +01:00

25 lines
610 B
TypeScript

import React from 'react';
import { useTranslation } from 'react-i18next';
function NotFoundPage() {
const { t } = useTranslation();
return (
<div
className="inset-0 flex items-center justify-center absolute"
style={{
height: 'calc(100vh - 50px)',
// zIndex: '999',
}}
>
<div className="flex flex-col items-center">
<div className="text-2xl -mt-8">{t('Session not found.')}</div>
<div className="text-sm">
{t('Please check your data retention policy.')}
</div>
</div>
</div>
);
}
export default NotFoundPage;