umami/pages/realtime.js

18 lines
359 B
JavaScript
Raw Normal View History

import Layout from 'components/layout/Layout';
import RealtimeDashboard from 'components/pages/RealtimeDashboard';
2023-01-05 06:20:24 +01:00
import useRequireLogin from 'hooks/useRequireLogin';
2022-10-28 01:42:57 +02:00
export default function RealtimePage() {
2023-01-05 06:20:24 +01:00
const { user } = useRequireLogin();
if (!user) {
return null;
}
return (
<Layout>
<RealtimeDashboard />
</Layout>
);
}