umami/pages/profile/index.js
Brian Cao e1f99a7d01
Rewrite admin. (#1713)
* Rewrite admin.

* Clean up password forms.

* Fix naming issues.

* CSS Naming.
2022-12-26 16:57:59 -08:00

19 lines
389 B
JavaScript

import Settings from 'components/pages/Settings';
import ProfileSettings from 'components/pages/ProfileSettings';
import useRequireLogin from 'hooks/useRequireLogin';
import React from 'react';
export default function TeamsPage() {
const { loading } = useRequireLogin();
if (loading) {
return null;
}
return (
<Settings>
<ProfileSettings />
</Settings>
);
}