diff options
Diffstat (limited to 'web/src')
-rw-r--r-- | web/src/js/app.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/app.jsx b/web/src/js/app.jsx index a94d2ef6..76720124 100644 --- a/web/src/js/app.jsx +++ b/web/src/js/app.jsx @@ -9,13 +9,13 @@ import rootReducer from './ducks/index' import { add as addLog } from './ducks/eventLog' import useUrlState from './urlState' import WebSocketBackend from './backends/websocket' +import { logger } from 'redux-logger' const middlewares = [thunk]; if (process.env.NODE_ENV !== 'production') { - const createLogger = require('redux-logger'); - middlewares.push(createLogger()); + middlewares.push(logger); } // logger must be last |