Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/pages/AssessmentShow/UnavailableAlert.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function UnavailableAlert has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UnavailableAlert = (props: UnavailableAlertProps): JSX.Element => {
  const { for: assessment } = props;
  const { t } = useTranslation();

  if (!assessment.permissions.canAttempt)

There are no issues that match your filters.

Category
Status