GSA/code-gov-front-end

View on GitHub
src/components/nav-select/nav-select.container.js

Summary

Maintainability
A
0 mins
Test Coverage
import { connect } from 'react-redux'
import { push } from 'connected-react-router'
import NavSelectComponent from './nav-select.component'

const mapDispatchToProps = dispatch => ({
  handleChange: route => {
    console.log('running nav select container handleChange', route)
    dispatch(push(route))
  }
})

export default connect(
  null,
  mapDispatchToProps
)(NavSelectComponent)