client/app/bundles/course/enrol-requests/pages/UserRequests/index.tsx
Function UserRequests
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const UserRequests: FC<Props> = (props) => {
const { intl } = props;
const [isLoading, setIsLoading] = useState(true);
const enrolRequests = useAppSelector(getAllEnrolRequestEntities);
const permissions = useAppSelector(getManageCourseUserPermissions);
- Create a ticketCreate a ticket