(reducer)
| 7392 | return "function" === typeof action ? action(state) : action; |
| 7393 | } |
| 7394 | function updateReducer(reducer) { |
| 7395 | var hook = updateWorkInProgressHook(); |
| 7396 | return updateReducerImpl(hook, currentHook, reducer); |
| 7397 | } |
| 7398 | function updateReducerImpl(hook, current, reducer) { |
| 7399 | var queue = hook.queue; |
| 7400 | if (null === queue) throw Error(formatProdErrorMessage(311)); |
no test coverage detected
searching dependent graphs…