Rewrite admin. (#1713)
* Rewrite admin. * Clean up password forms. * Fix naming issues. * CSS Naming.
This commit is contained in:
18
pages/profile/index.js
Normal file
18
pages/profile/index.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user