You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
432 B
15 lines
432 B
import { NextPage } from 'next';
|
|
import React from 'react';
|
|
import RequestList from '../../../components/RequestList';
|
|
import useRouteGuard from '../../../hooks/useRouteGuard';
|
|
import { Permission } from '../../../hooks/useUser';
|
|
|
|
const UserRequestsPage: NextPage = () => {
|
|
useRouteGuard([Permission.MANAGE_REQUESTS, Permission.REQUEST_VIEW], {
|
|
type: 'or',
|
|
});
|
|
return <RequestList />;
|
|
};
|
|
|
|
export default UserRequestsPage;
|