umami/pages/account.js

19 lines
354 B
JavaScript
Raw Normal View History

2020-08-06 08:03:07 +02:00
import React from 'react';
2020-08-07 11:27:12 +02:00
import Layout from 'components/layout/Layout';
2020-08-06 08:03:07 +02:00
import Account from 'components/Account';
import useRequireLogin from 'hooks/useRequireLogin';
export default function AccountPage() {
const { loading } = useRequireLogin();
if (loading) {
return null;
}
return (
<Layout>
<Account />
</Layout>
);
}