EscolaLMS/Front

View on GitHub
src/hooks/courses/useCourseAnswers.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    (page: number) => {
      if (questionId && courseId) {
        setLoading(true);
        fetchQuestionnairesAnswers(
          QuestionnaireModelType.COURSE,
Severity: Minor
Found in src/hooks/courses/useCourseAnswers.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status