content: import React from 'react';
  
  import NotAuthorizedPage from '../../../../components/NotAuthorizedPage';
  import { usePermission } from '../../../../contexts/AuthorizationContext';
  import ContactTable from './ContactTable';
  
  function ContactTab(props) {
  	const hasAccess = usePermission('view-l-room');
  
  	if (hasAccess) {
  		return <ContactTable {...props} />;
  	}
  
  	return <NotAuthorizedPage />;
  }
  
  export default ContactTab;
  