mirror of
https://github.com/kremalicious/umami.git
synced 2024-10-31 23:35:32 +01:00
19 lines
391 B
JavaScript
19 lines
391 B
JavaScript
|
import React from 'react';
|
||
|
import Layout from 'components/layout/Layout';
|
||
|
import RealtimeDashboard from 'components/pages/RealtimeDashboard';
|
||
|
import useRequireLogin from 'hooks/useRequireLogin';
|
||
|
|
||
|
export default function RealtimePage() {
|
||
|
const { loading } = useRequireLogin();
|
||
|
|
||
|
if (loading) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
return (
|
||
|
<Layout>
|
||
|
<RealtimeDashboard />
|
||
|
</Layout>
|
||
|
);
|
||
|
}
|