GSA/code-gov-front-end

View on GitHub
src/reducers/task-filter-options.js

Summary

Maintainability
A
0 mins
Test Coverage
import { SAVE_TASK_FILTER_OPTIONS } from 'constants/actions'

export default function(state = null, action) {
  switch (action.type) {
    case SAVE_TASK_FILTER_OPTIONS:
      return action.options
    default:
      return state
  }
}