diff --git a/client/src/middleware/logger.js b/client/src/middleware/logger.js index f93e83a..83eb50b 100644 --- a/client/src/middleware/logger.js +++ b/client/src/middleware/logger.js @@ -1,11 +1,12 @@ +// eslint-disable-next-line const logger = (store) => (next) => (action) => { - console.group(action.type) - console.log("The action: ", action) + // console.group(action.type) + // console.log("The action: ", action) //this is like dispatching an action //to get the next state const returnValue = next(action) - console.log("The new state: ", store.getState()) - console.groupEnd() + // console.log("The new state: ", store.getState()) + // console.groupEnd() return returnValue }