|
|
|
@ -10,12 +10,12 @@ const middlewares = [thunkMiddleware] |
|
|
|
|
|
|
|
|
|
console.log(developmentMode) |
|
|
|
|
if (developmentMode) { |
|
|
|
|
console.log("Development Mode ON.") |
|
|
|
|
console.log('Development Mode ON.') |
|
|
|
|
const createLogger = require('redux-logger') |
|
|
|
|
const loggerMiddleware = createLogger() |
|
|
|
|
middlewares.push(loggerMiddleware) |
|
|
|
|
} else { |
|
|
|
|
console.log("Development Mode OFF.") |
|
|
|
|
console.log('Development Mode OFF.') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|