text: import { createStore, applyMiddleware } from 'redux';
  import thunk from 'redux-thunk';
  import { composeWithDevTools } from 'redux-devtools-extension';
  import { createStateSyncMiddleware, initStateWithPrevTab } from 'redux-state-sync';
  import Reducers from './rootReducer';
  
  const config = {};
  
  const middleware = [thunk, createStateSyncMiddleware(config)];
  
  const store = createStore(
      Reducers,
      composeWithDevTools(applyMiddleware(...middleware)),
  );
  
  initStateWithPrevTab(store);
  
  export default store;