client/app/PledgeTile/containers/StateFooterContainer.js
Function mapStateToProps
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const mapStateToProps = (state, ownProps) => {
const pledge = ownProps.pledge
const aasm_state = pledge.aasm_state
const currentUserId = state.currentUser