This repository was archived by the owner on Nov 16, 2018. It is now read-only.
File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class LoadingReducer {
6
6
isLoading : false ,
7
7
} ;
8
8
9
- static reduce ( state = LoadingReducer . _initialState , action ) {
9
+ static reducer ( state = LoadingReducer . _initialState , action ) {
10
10
switch ( action . type ) {
11
11
case LoadingAction . SET_LOADING :
12
12
return LoadingReducer . _setLoading ( state , action ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class MetaReducer {
7
7
description : '' ,
8
8
} ;
9
9
10
- static reduce ( state = MetaReducer . _initialState , action ) {
10
+ static reducer ( state = MetaReducer . _initialState , action ) {
11
11
switch ( action . type ) {
12
12
case MetaAction . SET_META :
13
13
return MetaReducer . _setMeta ( state , action ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class ModalReducer {
7
7
modalList : [ ] ,
8
8
} ;
9
9
10
- static reduce ( state = ModalReducer . _initialState , action ) {
10
+ static reducer ( state = ModalReducer . _initialState , action ) {
11
11
switch ( action . type ) {
12
12
case ModalAction . ADD_MODAL :
13
13
return ModalReducer . _addModal ( state , action ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class RenderReducer {
4
4
isServerSide : true ,
5
5
} ;
6
6
7
- static reduce ( state = RenderReducer . _initialState , action ) {
7
+ static reducer ( state = RenderReducer . _initialState , action ) {
8
8
return state ;
9
9
}
10
10
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import ModalReducer from './modal/ModalReducer';
9
9
10
10
const reducers = {
11
11
form : formReducer ,
12
- loadingReducer : LoadingReducer . reduce ,
13
- metaReducer : MetaReducer . reduce ,
14
- modalReducer : ModalReducer . reduce ,
15
- renderReducer : RenderReducer . reduce ,
12
+ loadingReducer : LoadingReducer . reducer ,
13
+ metaReducer : MetaReducer . reducer ,
14
+ modalReducer : ModalReducer . reducer ,
15
+ renderReducer : RenderReducer . reducer ,
16
16
router : routerReducer ,
17
- userReducer : UserReducer . reduce ,
17
+ userReducer : UserReducer . reducer ,
18
18
} ;
19
19
20
20
export default combineReducers ( reducers ) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class UserReducer {
22
22
} ,
23
23
} ;
24
24
25
- static reduce ( state = UserReducer . _initialState , action ) {
25
+ static reducer ( state = UserReducer . _initialState , action ) {
26
26
switch ( action . type ) {
27
27
case UserAction . LOAD_USER_SUCCESS :
28
28
return UserReducer . _loadUser ( state , action ) ;
You can’t perform that action at this time.
0 commit comments