Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/question/multiple-responses/components/Option.tsx

Summary

Maintainability
B
6 hrs
Test Coverage

Function Option has 151 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Option = forwardRef<OptionRef, OptionProps>((props, ref): JSX.Element => {
  const { disabled, adapter: texts, for: originalOption } = props;

  const [option, setOption] = useState(originalOption);
  const [toBeDeleted, setToBeDeleted] = useState(false);

There are no issues that match your filters.

Category
Status