text: import { createStore, combineReducers, applyMiddleware, compose } from "redux";
  import thunk from "redux-thunk";
  import { composeWithDevTools } from "redux-devtools-extension";
  import dataReducer from "./reducers/dataReducer";
  
  const initialState = {};
  const middleware = [thunk];
  const reducers = combineReducers({
    data: dataReducer,
  });
  
  const composeEnhancers =
    typeof window === "object" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
      ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({})
      : compose;
  const enhancer = composeEnhancers(applyMiddleware(...middleware));
  const store = createStore(reducers, initialState, enhancer);
  
  export default store;
  