import { MiscPageLayout } from "../MiscPageLayout.js";
import { Message, ButtonGroup, AnchorButton, Button } from "@contember/ui";
import { LogoutLink } from "../LogoutLink.js";
import { jsxDEV } from "react/jsx-dev-runtime";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/components/Identity/InvalidIdentityFallback.tsx";
const InvalidIdentityFallback = () => {
  return /* @__PURE__ */ jsxDEV(MiscPageLayout, {
    children: [/* @__PURE__ */ jsxDEV(Message, {
      intent: "danger",
      size: "large",
      flow: "generousBlock",
      children: "Failed to fetch an identity"
    }, void 0, false, {
      fileName: _jsxFileName,
      lineNumber: 8,
      columnNumber: 4
    }, void 0), /* @__PURE__ */ jsxDEV(ButtonGroup, {
      orientation: "vertical",
      children: [/* @__PURE__ */ jsxDEV(AnchorButton, {
        href: window.location.href,
        children: "Reload"
      }, void 0, false, {
        fileName: _jsxFileName,
        lineNumber: 10,
        columnNumber: 5
      }, void 0), /* @__PURE__ */ jsxDEV(LogoutLink, {
        Component: Button,
        children: "Login again"
      }, void 0, false, {
        fileName: _jsxFileName,
        lineNumber: 11,
        columnNumber: 5
      }, void 0)]
    }, void 0, true, {
      fileName: _jsxFileName,
      lineNumber: 9,
      columnNumber: 4
    }, void 0)]
  }, void 0, true, {
    fileName: _jsxFileName,
    lineNumber: 7,
    columnNumber: 3
  }, void 0);
};
export {
  InvalidIdentityFallback
};
//# sourceMappingURL=InvalidIdentityFallback.js.map
