client/app/bundles/course/assessment/pages/AssessmentShow/NewQuestionMenu.tsx
Function NewQuestionMenu
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const NewQuestionMenu = (props: NewQuestionMenuProps): JSX.Element => {
const { with: newQuestionUrls } = props;
const { t } = useTranslation();
const [creating, setCreating] = useState(false);
const newQuestionButton = useRef<HTMLButtonElement>(null);
- Create a ticketCreate a ticket