af83/chouette-core

View on GitHub
app/packs/src/journey_patterns/containers/Navigate.js

Summary

Maintainability
A
0 mins
Test Coverage
import { connect } from 'react-redux'
import actions from '../actions'
import NavigateComponent from '../components/Navigate'

const mapStateToProps = (state) => {
  return {
    journeyPatterns: state.journeyPatterns,
    status: state.status,
    pagination: state.pagination
  }
}

const Navigate = connect(mapStateToProps)(NavigateComponent)

export default Navigate