Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/pages/AssessmentShow/QuestionsManager.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function QuestionsManager has 84 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const QuestionsManager = (props: QuestionsManagerProps): JSX.Element => {
  const { t } = useTranslation();
  const [questions, setQuestions] = useState(props.of);
  const [submitting, setSubmitting] = useState(false);
  const [currentDestination, setCurrentDestination] = useState<number>();

There are no issues that match your filters.

Category
Status