mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 12:18:35 -05:00
20 lines
665 B
TypeScript
20 lines
665 B
TypeScript
import NotificationsTelegram from '@app/components/Settings/Notifications/NotificationsTelegram';
|
|
import SettingsLayout from '@app/components/Settings/SettingsLayout';
|
|
import SettingsNotifications from '@app/components/Settings/SettingsNotifications';
|
|
import useRouteGuard from '@app/hooks/useRouteGuard';
|
|
import { Permission } from '@app/hooks/useUser';
|
|
import type { NextPage } from 'next';
|
|
|
|
const NotificationsPage: NextPage = () => {
|
|
useRouteGuard(Permission.ADMIN);
|
|
return (
|
|
<SettingsLayout>
|
|
<SettingsNotifications>
|
|
<NotificationsTelegram />
|
|
</SettingsNotifications>
|
|
</SettingsLayout>
|
|
);
|
|
};
|
|
|
|
export default NotificationsPage;
|