Coursemology/coursemology2

View on GitHub
client/app/bundles/common/DashboardPage.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function DashboardPage has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const DashboardPage = (): JSX.Element => {
  const { courses, user } = useAppContext();

  const { t } = useTranslation();

Severity: Minor
Found in client/app/bundles/common/DashboardPage.tsx - About 1 hr to fix

Function CourseListItem has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const CourseListItem = (props: CourseListItemProps): JSX.Element => {
  const { course } = props;

  const { t } = useTranslation();

Severity: Minor
Found in client/app/bundles/common/DashboardPage.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status