mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Rewrite admin. (#1713)
* Rewrite admin. * Clean up password forms. * Fix naming issues. * CSS Naming.
This commit is contained in:
parent
f4db04c3c6
commit
e1f99a7d01
113 changed files with 2054 additions and 1872 deletions
21
pages/users/[...id].js
Normal file
21
pages/users/[...id].js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import Settings from 'components/pages/Settings';
|
||||
import UserSettings from 'components/pages/UserSettings';
|
||||
import useRequireLogin from 'hooks/useRequireLogin';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
|
||||
export default function TeamDetailPage() {
|
||||
const { loading } = useRequireLogin();
|
||||
const router = useRouter();
|
||||
const { id } = router.query;
|
||||
|
||||
if (loading) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Settings>
|
||||
<UserSettings userId={id} />
|
||||
</Settings>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue