umami/pages/account.js

19 lines
378 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-09 08:48:43 +02:00
import AccountSettings from 'components/AccountSettings';
2020-08-06 08:03:07 +02:00
import useRequireLogin from 'hooks/useRequireLogin';
export default function AccountPage() {
const { loading } = useRequireLogin();
if (loading) {
return null;
}
return (
<Layout>
2020-08-09 08:48:43 +02:00
<AccountSettings />
2020-08-06 08:03:07 +02:00
</Layout>
);
}