mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
18 lines
368 B
JavaScript
18 lines
368 B
JavaScript
import Layout from 'components/layout/Layout';
|
|
import RealtimeDashboard from 'components/pages/realtime/RealtimeDashboard';
|
|
import useRequireLogin from 'hooks/useRequireLogin';
|
|
|
|
export default function RealtimePage() {
|
|
const { user } = useRequireLogin();
|
|
|
|
if (!user) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<Layout>
|
|
<RealtimeDashboard />
|
|
</Layout>
|
|
);
|
|
}
|