mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-06 22:58:09 -05:00
17 lines
467 B
TypeScript
17 lines
467 B
TypeScript
import SettingsLayout from '@app/components/Settings/SettingsLayout';
|
|
import SettingsMain from '@app/components/Settings/SettingsMain';
|
|
import useRouteGuard from '@app/hooks/useRouteGuard';
|
|
import { Permission } from '@app/hooks/useUser';
|
|
import type { NextPage } from 'next';
|
|
|
|
const SettingsPage: NextPage = () => {
|
|
useRouteGuard(Permission.ADMIN);
|
|
return (
|
|
<SettingsLayout>
|
|
<SettingsMain />
|
|
</SettingsLayout>
|
|
);
|
|
};
|
|
|
|
export default SettingsPage;
|