text: import { createStore, applyMiddleware, compose } from "redux";
  import thunk from "redux-thunk";
  import rootReducer from "./reducers";
  
  const initialState = {};
  
  const middleware = [thunk];
  
  const composeEnhancers =
    (typeof window !== "undefined" &&
      window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) ||
    compose;
  
  const enhancer = composeEnhancers(applyMiddleware(...middleware));
  
  // Setup Redux store
  const store = createStore(rootReducer, initialState, enhancer);
  
  export default store;
  