umami/pages/profile/index.js

18 lines
329 B
JavaScript
Raw Normal View History

import Settings from 'components/pages/Settings';
import ProfileSettings from 'components/pages/ProfileSettings';
import useUser from 'hooks/useUser';
export default function TeamsPage() {
const user = useUser();
if (!user) {
return null;
}
return (
<Settings>
<ProfileSettings />
</Settings>
);
}