2020-10-09 00:02:48 +02:00
|
|
|
import Layout from 'components/layout/Layout';
|
2023-01-10 08:59:26 +01:00
|
|
|
import RealtimeDashboard from 'components/pages/realtime/RealtimeDashboard';
|
2023-01-05 06:20:24 +01:00
|
|
|
import useRequireLogin from 'hooks/useRequireLogin';
|
2020-10-09 00:02:48 +02:00
|
|
|
|
2022-10-28 01:42:57 +02:00
|
|
|
export default function RealtimePage() {
|
2023-01-05 06:20:24 +01:00
|
|
|
const { user } = useRequireLogin();
|
2020-10-09 00:02:48 +02:00
|
|
|
|
2022-12-29 00:43:22 +01:00
|
|
|
if (!user) {
|
2020-10-09 00:02:48 +02:00
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Layout>
|
|
|
|
<RealtimeDashboard />
|
|
|
|
</Layout>
|
|
|
|
);
|
|
|
|
}
|