SumOfUs/Champaign

View on GitHub
app/javascript/components/consent/PopupMemberConsent.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function PopupMemberConsent has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function PopupMemberConsent(props: IProps) {
  const member = useSelector((state: IAppState) => state.member);
  const onClose = () => props.toggleModal(false);
  const onConsent = e => {
    e.preventDefault();
Severity: Minor
Found in app/javascript/components/consent/PopupMemberConsent.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status