Coursemology/coursemology2

View on GitHub
client/app/bundles/course/enrol-requests/pages/UserRequests/index.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function UserRequests has 78 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UserRequests: FC<Props> = (props) => {
  const { intl } = props;
  const [isLoading, setIsLoading] = useState(true);
  const enrolRequests = useAppSelector(getAllEnrolRequestEntities);
  const permissions = useAppSelector(getManageCourseUserPermissions);
Severity: Major
Found in client/app/bundles/course/enrol-requests/pages/UserRequests/index.tsx - About 3 hrs to fix

There are no issues that match your filters.

Category
Status