import { combineReducers } from "@reduxjs/toolkit";
import { waitMessageReducer } from "./wait-message/reducer.js";
import { errorReducer } from "./error/index.js";
import { breakpointReducer } from "./breakpoint/index.js";
import { liveMessageReducer } from "./live-message/index.js";
const createReducer = (injectedReducers = {}) => {
  const rootReducer = combineReducers({
    waitMessage: waitMessageReducer,
    error: errorReducer,
    breakpoint: breakpointReducer,
    liveMessage: liveMessageReducer,
    ...injectedReducers
  });
  return rootReducer;
};
export {
  createReducer
};
