mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Removed naming from index pages.
This commit is contained in:
parent
6b69f69c08
commit
4e6d24e932
24 changed files with 81 additions and 63 deletions
20
pages/websites/[id]/event-data.js
Normal file
20
pages/websites/[id]/event-data.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import AppLayout from 'components/layout/AppLayout';
|
||||
import WebsiteEventData from 'components/pages/websites/WebsiteEventData';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function () {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const router = useRouter();
|
||||
const { id } = router.query;
|
||||
|
||||
if (!id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<AppLayout title={formatMessage(labels.websites)}>
|
||||
<WebsiteEventData websiteId={id} />
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue