umami/pages/account.js
2020-08-07 02:27:12 -07:00

19 lines
354 B
JavaScript

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