"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const ui = require("@contember/ui");
const react = require("react");
const reactErrorBoundary = require("react-error-boundary");
const PageErrorBoundary = react.memo((props) => /* @__PURE__ */ jsxRuntime.jsx(reactErrorBoundary.ErrorBoundary, { FallbackComponent: ProdErrorFallback, children: props.children }));
function ProdErrorFallback({}) {
  return /* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Message, { intent: "danger", size: "large", children: "Fatal error!" }) });
}
exports.PageErrorBoundary = PageErrorBoundary;
//# sourceMappingURL=PageErrorBoundary.cjs.map
