Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit e5bdacb

Browse files
committed
Reorganise middlewares in store setup
1 parent c77c055 commit e5bdacb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export const ACTION_TYPES = {
22
APP_LOAD: 'APP_LOAD',
3-
STATUS_REQUEST: 'STATUS_REQUEST',
43
STATUS_SUCCESS: 'STATUS_SUCCESS',
54
STATUS_FAILURE: 'STATUS_FAILURE'
65
};

frontend/src/store/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const reducer = combineReducers({ app });
1818

1919
const middlewares = [
2020
routerMiddleware(history),
21-
logger,
22-
thunk
21+
thunk,
22+
logger
2323
];
2424

2525
const store = compose(

0 commit comments

Comments
 (0)