department-of-veterans-affairs/vets-website

View on GitHub
src/applications/accredited-representative-portal/components/common/ErrorMessage.jsx

Summary

Maintainability
A
1 hr
Test Coverage
import React from 'react';

const ErrorMessage = () => (
  <va-alert data-testid="error-message" status="error" visible>
    <h2 slot="headline">We’re sorry. Something went wrong.</h2>
    <div>
      <p className="vads-u-margin-y--0">
        Please refresh this page or check back later. You can also check the
        system status on the VA.gov homepage.
      </p>
    </div>
  </va-alert>
);

export default ErrorMessage;