Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/pages/AssessmentsIndex/index.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function AssessmentsIndex has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const AssessmentsIndex = (): JSX.Element => {
  const [params, setParams] = useSearchParams();
  const categoryId = parseInt(params.get('category') ?? '', 10) || undefined;
  const tabId = parseInt(params.get('tab') ?? '', 10) || undefined;

Severity: Major
Found in client/app/bundles/course/assessment/pages/AssessmentsIndex/index.tsx - About 2 hrs to fix

There are no issues that match your filters.

Category
Status