import { createStore, applyMiddleware, compose } from 'redux'
import createSagaMiddleware from 'redux-saga'
import rootReducer from 'rootReducer'
import rootSaga from 'sagas'
import { extend } from 'lodash'

const middlewares = []
const sagaAdditionalMiddlewares = []

if (process.env.NODE_ENV === 'development') {
  const createLogger = require('redux-logger')
  const sagaMonitor = console.tron.createSagaMonitor()
  const logger = createLogger({
    predicate: (a, b) => true,
    collapsed: (a, b) => true
  })
  middlewares.push(logger)
  sagaAdditionalMiddlewares.push({sagaMonitor})
}

const sagaMiddleware = createSagaMiddleware(...sagaAdditionalMiddlewares)
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;

const createTheStore =
  process.env.NODE_ENV === 'development'
  ? console.tron.createStore
  : createStore

middlewares.push(sagaMiddleware)

export default () => {
  const store = createTheStore(
    rootReducer,
    composeEnhancers(applyMiddleware(...middlewares)),
  )

  sagaMiddleware.run(rootSaga)

  return store
}

@@ -311,24 +311,26 @@
 ') %7B%0A  const
+ %7B
  createLogge
@@ -330,16 +330,18 @@
 teLogger
+ %7D
  = requi
@@ -360,16 +360,19 @@
 gger')%0A 
+ //
  const s
@@ -543,16 +543,19 @@
 ogger)%0A 
+ //
  sagaAdd
@@ -820,29 +820,16 @@
 nt'%0A  ? 
-console.tron.
 createSt

Stop reactotron saga monitor. Fix redux-logger.