umami/pages/dashboard.js

19 lines
361 B
JavaScript
Raw Normal View History

2020-08-06 08:03:07 +02:00
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>
);
}