umami/pages/settings/users/index.js
2023-01-30 23:03:08 -08:00

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>
);
}