1
0
mirror of https://github.com/kremalicious/umami.git synced 2024-12-23 01:30:05 +01:00
umami/pages/dashboard.js
2020-08-07 02:27:12 -07:00

19 lines
368 B
JavaScript

import React from 'react';
import Layout from 'components/layout/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>
);
}