umami/pages/account.js

19 lines
347 B
JavaScript
Raw Normal View History

2020-08-06 08:03:07 +02:00
import React from 'react';
import Layout from 'components/Layout';
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>
);
}