This reverts commit 5ea2150ae7.
This commit is contained in:
@@ -15,15 +15,9 @@ const idFn = a => a
|
||||
function createStoreWithMiddleware(rootReducer, initialState, getSystem) {
|
||||
|
||||
let middlwares = [
|
||||
/* develblock:start */
|
||||
// Measure actions
|
||||
() => next => action => {
|
||||
require("root/src/perf").start("action:"+action.type)
|
||||
const res = next(action)
|
||||
require("root/src/perf").stop("action:"+action.type)
|
||||
return res
|
||||
},
|
||||
/* develblock:end */
|
||||
// createLogger( {
|
||||
// stateTransformer: state => state && state.toJS()
|
||||
// } ),
|
||||
systemThunkMiddleware( getSystem )
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user