import { getContent as r } from "../../../../store/selectors.js";
import { setContent as p } from "../store/builder-slice.js";
import { useAppSelector as s } from "./use-app-selector.js";
import { useCallback as m } from "react";
import { useAppDispatch as c } from "./use-app-dispatch.js";
const l = () => {
  const t = s(r), o = c(), e = m((n) => {
    o(p(n));
  }, []);
  return [t, e];
};
export {
  l as useContent
};
//# sourceMappingURL=use-content.js.map
