Coursemology/coursemology2

View on GitHub
client/app/bundles/course/admin/pages/CourseSettings/DeleteCoursePrompt.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function DeleteCoursePrompt has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const DeleteCoursePrompt = (props: DeleteCoursePromptProps): JSX.Element => {
  const challengeText = DEFAULT_CHALLENGE;

  const { t } = useTranslation();
  const [inputChallenge, setInputChallenge] = useState('');

There are no issues that match your filters.

Category
Status