mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
19 lines
387 B
JavaScript
19 lines
387 B
JavaScript
import React from 'react';
|
|
import Layout from 'components/layout/Layout';
|
|
import AccountSettings from 'components/settings/AccountSettings';
|
|
import useRequireLogin from 'hooks/useRequireLogin';
|
|
|
|
export default function AccountPage() {
|
|
const { loading } = useRequireLogin();
|
|
|
|
if (loading) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<Layout>
|
|
<AccountSettings />
|
|
</Layout>
|
|
);
|
|
}
|