openreplay/frontend/app/components/shared/SessionsTabOverview/components/Notes/NotesRoute.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

24 lines
689 B
TypeScript

import React from 'react';
import NotesList from './NoteList';
import NoteTags from './NoteTags';
import { useTranslation } from 'react-i18next';
function NotesRoute() {
const { t } = useTranslation();
return (
<div className="mb-5 w-full mx-auto" style={{ maxWidth: '1360px' }}>
<div className="widget-wrapper">
<div className="flex items-center px-4 py-2 justify-between w-full border-b">
<div className="flex items-center justify-end w-full">
<h2 className="text-2xl capitalize mr-4">{t('Notes')}</h2>
<NoteTags />
</div>
</div>
<NotesList />
</div>
</div>
);
}
export default NotesRoute;