client/app/bundles/course/duplication/pages/Duplication/DestinationCourseSelector/InstanceDropdown.tsx
Function InstanceDropdown
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const InstanceDropdown: FC<InstanceDropdownProps> = (props) => {
const { disabled, field, fieldState } = props;
const instances = useAppSelector(selectDestinationInstances);
const metadata = useAppSelector(selectMetadata);
const instanceIds = useMemo(() => Object.keys(instances), [instances]);
- Create a ticketCreate a ticket