initiatived21/d21

View on GitHub
client/app/PledgeTile/containers/StateFooterContainer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function mapStateToProps has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const mapStateToProps = (state, ownProps) => {
  const pledge = ownProps.pledge
  const aasm_state = pledge.aasm_state

  const currentUserId = state.currentUser
Severity: Minor
Found in client/app/PledgeTile/containers/StateFooterContainer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status