(state = getAppState('STARTED'), action)
| 2 | import {getAppState} from './constants'; |
| 3 | |
| 4 | function appLifecycle(state = getAppState('STARTED'), action) { |
| 5 | switch (action.type) { |
| 6 | case getAction('SET_APP_LIFECYCLE'): |
| 7 | return getAppState(action.payload); |
| 8 | default: |
| 9 | return state; |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | export default appLifecycle; |
nothing calls this directly
no test coverage detected
searching dependent graphs…