mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 01:35:17 +01:00
19 lines
361 B
JavaScript
19 lines
361 B
JavaScript
|
import React from 'react';
|
||
|
import Layout from 'components/Layout';
|
||
|
import WebsiteList from 'components/WebsiteList';
|
||
|
import useRequireLogin from 'hooks/useRequireLogin';
|
||
|
|
||
|
export default function DashboardPage() {
|
||
|
const { loading } = useRequireLogin();
|
||
|
|
||
|
if (loading) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
return (
|
||
|
<Layout>
|
||
|
<WebsiteList />
|
||
|
</Layout>
|
||
|
);
|
||
|
}
|