GSA/code-gov-front-end

View on GitHub
src/reducers/project.js

Summary

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

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