mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
New settings layouts. Segment management screen.
This commit is contained in:
parent
2dbcf63eeb
commit
eb7b6978d3
70 changed files with 762 additions and 499 deletions
10
src/app/(main)/admin/users/[userId]/UserHeader.tsx
Normal file
10
src/app/(main)/admin/users/[userId]/UserHeader.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { useContext } from 'react';
|
||||
import { User } from '@/components/icons';
|
||||
import { PageHeader } from '@/components/common/PageHeader';
|
||||
import { UserContext } from '@/app/(main)/admin/users/[userId]/UserProvider';
|
||||
|
||||
export function UserHeader() {
|
||||
const user = useContext(UserContext);
|
||||
|
||||
return <PageHeader title={user?.username} icon={<User />} />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue