mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-05 14:18:35 -05:00
20 lines
725 B
TypeScript
20 lines
725 B
TypeScript
import UserSettings from '@app/components/UserProfile/UserSettings';
|
|
import UserNotificationSettings from '@app/components/UserProfile/UserSettings/UserNotificationSettings';
|
|
import UserNotificationsEmail from '@app/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsEmail';
|
|
import useRouteGuard from '@app/hooks/useRouteGuard';
|
|
import { Permission } from '@app/hooks/useUser';
|
|
import type { NextPage } from 'next';
|
|
|
|
const NotificationsPage: NextPage = () => {
|
|
useRouteGuard(Permission.MANAGE_USERS);
|
|
return (
|
|
<UserSettings>
|
|
<UserNotificationSettings>
|
|
<UserNotificationsEmail />
|
|
</UserNotificationSettings>
|
|
</UserSettings>
|
|
);
|
|
};
|
|
|
|
export default NotificationsPage;
|