umami/pages/index.js

19 lines
332 B
JavaScript
Raw Normal View History

2020-07-17 10:03:38 +02:00
import React from 'react';
2020-07-24 04:56:55 +02:00
import Layout from 'components/Layout';
2020-08-05 07:45:05 +02:00
import WebsiteList from 'components/WebsiteList';
import useUser from 'hooks/useUser';
export default function HomePage() {
const { loading } = useUser();
if (loading) {
return null;
}
2020-07-17 10:03:38 +02:00
return (
<Layout>
<WebsiteList />
2020-07-17 10:03:38 +02:00
</Layout>
);
}