aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/app/store.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/app/store.js b/ui/app/store.js
index d9764a3fc..7eea6ffd9 100644
--- a/ui/app/store.js
+++ b/ui/app/store.js
@@ -3,6 +3,7 @@ const applyMiddleware = require('redux').applyMiddleware
const thunkMiddleware = require('redux-thunk')
const rootReducer = require('./reducers')
const developmentMode = require('../../app/scripts/config').developmentMode
+const createLogger = require('redux-logger')
module.exports = configureStore
@@ -11,11 +12,8 @@ const middlewares = [thunkMiddleware]
console.log(developmentMode)
if (developmentMode) {
console.log('Development Mode ON.')
- const createLogger = require('redux-logger')
const loggerMiddleware = createLogger()
middlewares.push(loggerMiddleware)
-} else {
- console.log('Development Mode OFF.')
}