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.
21 lines
463 B
21 lines
463 B
import type { NextPage } from 'next';
|
|
import IssueDetails from '../../../components/IssueDetails';
|
|
import useRouteGuard from '../../../hooks/useRouteGuard';
|
|
import { Permission } from '../../../hooks/useUser';
|
|
|
|
const IssuePage: NextPage = () => {
|
|
useRouteGuard(
|
|
[
|
|
Permission.MANAGE_ISSUES,
|
|
Permission.CREATE_ISSUES,
|
|
Permission.VIEW_ISSUES,
|
|
],
|
|
{
|
|
type: 'or',
|
|
}
|
|
);
|
|
return <IssueDetails />;
|
|
};
|
|
|
|
export default IssuePage;
|