import { useMemo as m } from "react";
import { useShopActions as u } from "../../internal/useShopActions.js";
import { useShopActionsDataFetching as a } from "../../internal/useShopActionsDataFetching.js";
const l = (o) => {
  const { getContent: e } = u(), { identifiers: n, skip: s = !1, ...r } = o, { data: t, ...i } = a(
    e,
    {
      identifiers: n,
      ...r
    },
    {
      skip: s,
      hook: "useContent"
    }
  ), c = m(() => t ?? null, [t]);
  return {
    ...i,
    content: c
  };
};
export {
  l as useContent
};
//# sourceMappingURL=useContent.js.map
