Coursemology/coursemology2

View on GitHub
client/app/bundles/course/users/components/misc/UpgradeToStaff.tsx

Summary

Maintainability
B
4 hrs
Test Coverage

Function UpgradeToStaff has 104 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UpgradeToStaff: FC<Props> = (props) => {
  const { intl } = props;

  const students = useAppSelector(getStudentOptionMiniEntities);
  const [isLoading, setIsLoading] = useState(false);
Severity: Major
Found in client/app/bundles/course/users/components/misc/UpgradeToStaff.tsx - About 4 hrs to fix

There are no issues that match your filters.

Category
Status