mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-31 19:59:31 -05:00
18 lines
508 B
TypeScript
18 lines
508 B
TypeScript
import React from 'react';
|
|
import { NextPage } from 'next';
|
|
import SettingsLayout from '../../components/Settings/SettingsLayout';
|
|
import SettingsMain from '../../components/Settings/SettingsMain';
|
|
import { Permission } from '../../hooks/useUser';
|
|
import useRouteGuard from '../../hooks/useRouteGuard';
|
|
|
|
const SettingsMainPage: NextPage = () => {
|
|
useRouteGuard(Permission.MANAGE_USERS);
|
|
return (
|
|
<SettingsLayout>
|
|
<SettingsMain />
|
|
</SettingsLayout>
|
|
);
|
|
};
|
|
|
|
export default SettingsMainPage;
|