2020-10-09 00:02:48 +02:00
|
|
|
import React from 'react';
|
|
|
|
import Layout from 'components/layout/Layout';
|
|
|
|
import RealtimeDashboard from 'components/pages/RealtimeDashboard';
|
|
|
|
import useRequireLogin from 'hooks/useRequireLogin';
|
|
|
|
|
2022-10-13 01:29:44 +02:00
|
|
|
export default function RealtimePage() {
|
2020-10-09 00:02:48 +02:00
|
|
|
const { loading } = useRequireLogin();
|
|
|
|
|
|
|
|
if (loading) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
2022-10-13 01:29:44 +02:00
|
|
|
<Layout>
|
2020-10-09 00:02:48 +02:00
|
|
|
<RealtimeDashboard />
|
|
|
|
</Layout>
|
|
|
|
);
|
|
|
|
}
|