2022-12-27 01:57:59 +01:00
|
|
|
import Exclamation from 'assets/exclamation-triangle.svg';
|
2020-10-04 07:36:51 +02:00
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
import styles from './ErrorMessage.module.css';
|
2022-12-27 01:57:59 +01:00
|
|
|
import { Icon } from 'react-basics';
|
2020-10-04 07:36:51 +02:00
|
|
|
|
|
|
|
export default function ErrorMessage() {
|
|
|
|
return (
|
|
|
|
<div className={styles.error}>
|
2022-12-27 01:57:59 +01:00
|
|
|
<Icon className={styles.icon} size="large">
|
|
|
|
<Exclamation />
|
|
|
|
</Icon>
|
2020-10-04 07:36:51 +02:00
|
|
|
<FormattedMessage id="message.failure" defaultMessage="Something went wrong." />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|