af83/chouette-core

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

Summary

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

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


const Navigate = connect(mapStateToProps)(NavigateComponent)

export default Navigate