import { useRouteParameter } from '@rocket.chat/ui-contexts'; import UsersInRolePage from './UsersInRolePage'; import { useRole } from '../hooks/useRole'; const UsersInRolePageWithData = () => { const _id = useRouteParameter('_id'); const role = useRole(_id); if (!role) { return null; } return ; }; export default UsersInRolePageWithData;