mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
import AppLayout from 'components/layout/AppLayout';
|
|
import useConfig from 'hooks/useConfig';
|
|
|
|
import UsersList from 'components/pages/settings/users/UsersList';
|
|
|
|
export default function UsersPage() {
|
|
const { adminDisabled } = useConfig();
|
|
|
|
if (adminDisabled) {
|
|
return null;
|
|
}
|
|
|
|
return (
|
|
<AppLayout>
|
|
<UsersList />
|
|
</AppLayout>
|
|
);
|
|
}
|