import { useInjectReducer } from "redux-injectors";
import {
  addMiddleware
} from "./queryMiddleware.js";
const useInjectQuery = ({
  reducerPath,
  reducer,
  middleware
}) => {
  useInjectReducer({ key: reducerPath, reducer });
  addMiddleware({ reducerPath, middleware });
};
export {
  useInjectQuery
};
