content: import React from 'react';
  
  import NotAuthorizedPage from '../../../components/NotAuthorizedPage';
  import { usePermission } from '../../../contexts/AuthorizationContext';
  import ViewLogs from './ViewLogs';
  
  export default function ViewLogsRoute() {
  	const canViewLogs = usePermission('view-logs');
  
  	if (!canViewLogs) {
  		return <NotAuthorizedPage />;
  	}
  
  	return <ViewLogs />;
  }
  