UNPKG
@wenn/onb
Version:
latest (1.0.0)
1.0.0
onb-core
@wenn/onb
/
redux
/
reducers
/
flowerror.reducer.js
11 lines
(9 loc)
•
225 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
FLOW_ERROR
}
from
'../constants'
;
export
default
function
flowErrorReducer
(
state =
true
, action
) {
switch
(action.
type
) {
case
FLOW_ERROR
:
return
action.
flowerror
;
default
:
return
state; } }