mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
18 lines
331 B
JavaScript
18 lines
331 B
JavaScript
import Layout from 'components/layout/Layout';
|
|
import RealtimeDashboard from 'components/pages/RealtimeDashboard';
|
|
import useUser from 'hooks/useUser';
|
|
|
|
export default function RealtimePage() {
|
|
const user = useUser();
|
|
|
|
if (!user) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<Layout>
|
|
<RealtimeDashboard />
|
|
</Layout>
|
|
);
|
|
}
|