2020-10-09 00:02:48 +02:00
|
|
|
import Layout from 'components/layout/Layout';
|
|
|
|
import RealtimeDashboard from 'components/pages/RealtimeDashboard';
|
2022-12-29 00:43:22 +01:00
|
|
|
import useUser from 'hooks/useUser';
|
2020-10-09 00:02:48 +02:00
|
|
|
|
2022-10-28 01:42:57 +02:00
|
|
|
export default function RealtimePage() {
|
2022-12-29 00:43:22 +01:00
|
|
|
const user = useUser();
|
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>
|
|
|
|
);
|
|
|
|
}
|