{"size": 233, "ext": "js", "max_stars_repo_path": "src/reducers/navReducer.js", "max_stars_repo_name": "BloomTech-Labs/well-done-fe", "max_stars_repo_stars_event_min_datetime": "2020-04-21T17:19:26.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-21T17:19:26.000Z", "max_issues_repo_path": "src/reducers/navReducer.js", "max_issues_repo_name": "BloomTech-Labs/well-done-fe", "max_issues_repo_issues_event_min_datetime": "2019-12-13T22:24:22.000Z", "max_issues_repo_issues_event_max_datetime": "2020-07-13T04:09:23.000Z", "max_forks_repo_path": "src/reducers/navReducer.js", "max_forks_repo_name": "BloomTech-Labs/well-done-fe", "max_forks_repo_forks_event_min_datetime": "2019-12-27T01:16:29.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-17T19:35:47.000Z"}
{"max_stars_count": 1, "max_issues_count": 5, "max_forks_count": 2, "avg_line_length": 19.4166666667, "max_line_length": 56, "alphanum_fraction": 0.6652360515}
import { TOGGLE_NAV_STATE } from 'actions/navActions.js'

export const navReducer = (state = false, action) => {
  switch (action.type) {
    case TOGGLE_NAV_STATE:
      return action.payload

    default:
      return state
  }
}
 