import { forceReducerReload } from "redux-injectors";
const enableHotReloading = (baseStore) => {
  let hotModule = null;
  try {
    hotModule = module?.hot;
  } catch (err) {
    hotModule = import.meta?.webpackHot;
  }
  if (hotModule) {
    hotModule.accept("./reducers", () => {
      forceReducerReload(baseStore);
    });
  }
};
export {
  enableHotReloading
};
