Coursemology/coursemology2

View on GitHub
client/app/bundles/course/user-invitations/components/buttons/PendingInvitationsButtons.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function PendingInvitationsButtons has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const PendingInvitationsButtons: FC<Props> = (props) => {
  const { intl, invitation } = props;
  const dispatch = useAppDispatch();
  const [isResending, setIsResending] = useState(false);
  const [isDeleting, setIsDeleting] = useState(false);

There are no issues that match your filters.

Category
Status