af83/chouette-core

View on GitHub
app/packs/src/routes/containers/VisibleStopPoints.js

Summary

Maintainability
A
1 hr
Test Coverage

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

const mapDispatchToProps = (dispatch) => {
  return {
    onDeleteClick: (index, stopPointId) =>{
      dispatch(actions.deleteStop(index, stopPointId))
      dispatch(actions.closeMaps())
Severity: Minor
Found in app/packs/src/routes/containers/VisibleStopPoints.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status