import { jsxDEV } from "react/jsx-dev-runtime";
import { DataViewKeyProvider } from "@contember/react-dataview";
import { useCurrentRequest } from "@contember/react-routing";
const DataViewPageNameKeyProvider = ({ children }) => {
  const pageName = useCurrentRequest()?.pageName;
  return /* @__PURE__ */ jsxDEV(DataViewKeyProvider, { value: pageName ?? "", children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/DataViewPageNameKeyProvider.tsx",
    lineNumber: 9,
    columnNumber: 3
  }, void 0);
};
export {
  DataViewPageNameKeyProvider
};
//# sourceMappingURL=DataViewPageNameKeyProvider.js.map
