mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
19 lines
452 B
JavaScript
19 lines
452 B
JavaScript
import { useRouter } from 'next/router';
|
|
import AppLayout from 'components/layout/AppLayout';
|
|
import RealtimeDashboard from 'components/pages/realtime/RealtimeDashboard';
|
|
|
|
export default function RealtimeDetailsPage() {
|
|
const router = useRouter();
|
|
const { id: websiteId } = router.query;
|
|
|
|
if (!websiteId) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<AppLayout>
|
|
<RealtimeDashboard key={websiteId} websiteId={websiteId} />
|
|
</AppLayout>
|
|
);
|
|
}
|