text: import {createStore, combineReducers, applyMiddleware} from 'redux'
  import createLogger from 'redux-logger'
  import thunkMiddleware from 'redux-thunk'
  import {composeWithDevTools} from 'redux-devtools-extension'
  import user from './user'
  import peers from './peers'
  import chat from './chat'
  
  const reducer = combineReducers({
    user,
    peers,
    chat
  })
  const middleware = composeWithDevTools(applyMiddleware(
    thunkMiddleware,
    createLogger({collapsed: true})
  ))
  const store = createStore(reducer, middleware)
  
  export default store
  export * from './user'
  export * from './peers'
  export * from './chat'
  