mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +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>
|
|
);
|
|
}
|