import React from 'react';
import { FormattedMessage, useIntl } from 'react-intl-next';
import { GenericErrorIcon } from '../../../../common/ui/icons/generic-error-icon';
import { messages } from '../../../../messages';
import { EmptyState } from '../../components/EmptyState';
var RelatedLinksErroredView = function RelatedLinksErroredView() {
  var intl = useIntl();
  return /*#__PURE__*/React.createElement(EmptyState, {
    renderImage: function renderImage() {
      return /*#__PURE__*/React.createElement(GenericErrorIcon, {
        "data-testid": "related-links-error-svg"
      });
    },
    header: intl.formatMessage(messages.related_links_modal_error_title),
    description: /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_modal_error_description)
  });
};
export default RelatedLinksErroredView;