af83/chouette-core

View on GitHub
app/packs/src/routes/reducers/oppositeRoutes.js

Summary

Maintainability
A
0 mins
Test Coverage
const oppositeRoutes = (state = {}, action) => {
  switch(action.type) {
    case 'RECEIVE_OPPOSITE_ROUTES':
      return action.json
    default:
      return state
  }
}

export default oppositeRoutes