text: import { createStore, applyMiddleware } from "redux";
  import { persistStore } from "redux-persist";
  
  import logger from "redux-logger";
  
  import rootReducer from "./root.reducer";
  
  const middleWares = [logger];
  
  export const store = createStore(rootReducer, applyMiddleware(...middleWares));
  
  export const persistor = persistStore(store);
  