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