"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactIntlNext = require("react-intl-next");
var _genericErrorIcon = require("../../../../common/ui/icons/generic-error-icon");
var _messages = require("../../../../messages");
var _EmptyState = require("../../components/EmptyState");
var RelatedLinksErroredView = function RelatedLinksErroredView() {
  var intl = (0, _reactIntlNext.useIntl)();
  return /*#__PURE__*/_react.default.createElement(_EmptyState.EmptyState, {
    renderImage: function renderImage() {
      return /*#__PURE__*/_react.default.createElement(_genericErrorIcon.GenericErrorIcon, {
        "data-testid": "related-links-error-svg"
      });
    },
    header: intl.formatMessage(_messages.messages.related_links_modal_error_title),
    description: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.related_links_modal_error_description)
  });
};
var _default = exports.default = RelatedLinksErroredView;