"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const reactDataview = require("@contember/react-dataview");
const reactRouting = require("@contember/react-routing");
const DataViewPageNameKeyProvider = ({ children }) => {
  const pageName = reactRouting.useCurrentRequest()?.pageName;
  return /* @__PURE__ */ jsxDevRuntime.jsxDEV(reactDataview.DataViewKeyProvider, { value: pageName ?? "", children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/DataViewPageNameKeyProvider.tsx",
    lineNumber: 9,
    columnNumber: 3
  }, void 0);
};
exports.DataViewPageNameKeyProvider = DataViewPageNameKeyProvider;
//# sourceMappingURL=DataViewPageNameKeyProvider.cjs.map
