import { combineReducers } from "redux";
import loginReducer from "./login";
import object1Reducer from "./object1";
import object2Reducer from "./object2";
import object3Reducer from "./object3";
import object4Reducer from "./object4";
import object5Reducer from "./object5";
import object6Reducer from "./object6";
import stores1Reducer from "./stores1";
import stores3Reducer from "./stores3";
import systemReducer from "./system";

// 合并 reducer
const rootReducer = combineReducers({
  loginStore: loginReducer,
  object1Store: object1Reducer,
  object2Store: object2Reducer,
  object3Store: object3Reducer,
  object4Store: object4Reducer,
  object5Store: object5Reducer,
  object6Store: object6Reducer,
  stores1Store: stores1Reducer,
  stores3Store: stores3Reducer,
  systemStore: systemReducer,
});

export default rootReducer;
