client/app/bundles/course/assessment/question/multiple-responses/components/Option.tsx
Function Option
has 151 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);
- Create a ticketCreate a ticket