mirror of
https://github.com/umami-software/umami.git
synced 2026-02-21 21:15:35 +01:00
Prevent admin from resetting their own role.
This commit is contained in:
parent
2e871af05b
commit
f25cd93012
10 changed files with 66 additions and 31 deletions
|
|
@ -1,6 +1,11 @@
|
|||
'use client';
|
||||
import UserSettings from './UserSettings';
|
||||
import UserProvider from './UserProvider';
|
||||
|
||||
export default function ({ userId }: { userId: string }) {
|
||||
return <UserSettings userId={userId} />;
|
||||
return (
|
||||
<UserProvider userId={userId}>
|
||||
<UserSettings userId={userId} />
|
||||
</UserProvider>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue