umami/pages/realtime.js

19 lines
391 B
JavaScript
Raw Normal View History

import React from 'react';
import Layout from 'components/layout/Layout';
import RealtimeDashboard from 'components/pages/RealtimeDashboard';
import useRequireLogin from 'hooks/useRequireLogin';
2022-10-28 01:42:57 +02:00
export default function RealtimePage() {
const { loading } = useRequireLogin();
2022-10-28 01:42:57 +02:00
if (loading) {
return null;
}
return (
<Layout>
<RealtimeDashboard />
</Layout>
);
}