"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const ui = require("@contember/ui");
const LogoutLink = require("../LogoutLink.cjs");
const MiscPageLayout = require("../MiscPageLayout.cjs");
const InvalidIdentityFallback = () => {
  return /* @__PURE__ */ jsxRuntime.jsxs(MiscPageLayout.MiscPageLayout, { children: [
    /* @__PURE__ */ jsxRuntime.jsx(ui.Message, { intent: "danger", size: "large", padding: "large", display: "block", children: "Failed to fetch an identity" }),
    /* @__PURE__ */ jsxRuntime.jsxs(ui.ButtonGroup, { direction: "vertical", children: [
      /* @__PURE__ */ jsxRuntime.jsx(ui.AnchorButton, { href: window.location.href, children: "Reload" }),
      /* @__PURE__ */ jsxRuntime.jsx(LogoutLink.LogoutLink, { Component: ui.Button, children: "Login again" })
    ] })
  ] });
};
exports.InvalidIdentityFallback = InvalidIdentityFallback;
//# sourceMappingURL=InvalidIdentityFallback.cjs.map
