mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 11: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
18
pages/websites/[id]/realtime.js
Normal file
18
pages/websites/[id]/realtime.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { useRouter } from 'next/router';
|
||||
import AppLayout from 'components/layout/AppLayout';
|
||||
import RealtimeDashboard from 'components/pages/realtime/RealtimeDashboard';
|
||||
|
||||
export default function () {
|
||||
const router = useRouter();
|
||||
const { id: websiteId } = router.query;
|
||||
|
||||
if (!websiteId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<AppLayout>
|
||||
<RealtimeDashboard websiteId={websiteId} />
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue