Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/submission/pages/SubmissionEditIndex/components/TabbedViewQuestions.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function TabbedViewQuestions has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const TabbedViewQuestions: FC<Props> = (props) => {
  const { handleNext, maxStep, stepIndex, setStepIndex } = props;

  const assessment = useAppSelector(getAssessment);
  const submission = useAppSelector(getSubmission);

Function QuestionStepper has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const QuestionStepper: FC = () => {
    return (
      questionIds &&
      questionIds.length > 1 && (
        <Stepper

There are no issues that match your filters.

Category
Status