Coursemology/coursemology2

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

Summary

Maintainability
A
3 hrs
Test Coverage

Function NotFoundPage has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const NotFoundPage = (): JSX.Element => {
  const { t } = useTranslation();

  return (
    <ErrorPage
Severity: Minor
Found in client/app/bundles/common/ErrorPage.tsx - About 1 hr to fix

Function ForbiddenPage has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ForbiddenPage = (): JSX.Element => {
  const { t } = useTranslation();

  const sourceURL = useLoaderData() as string | null;

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

There are no issues that match your filters.

Category
Status