SumOfUs/Champaign

View on GitHub
app/javascript/plugins/petition/PetitionComponent.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function PetitionComponent has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function PetitionComponent(props: IProps) {
  const dispatch = useDispatch();
  const member: IChampaignMember = useSelector((state: any) => state.member);
  const fields = filterNonEmptyFields(props.config.fields, member);

Severity: Minor
Found in app/javascript/plugins/petition/PetitionComponent.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status