mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 02:06:19 +01:00
15 lines
476 B
JavaScript
15 lines
476 B
JavaScript
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
import Icon from './Icon';
|
|
import Exclamation from 'assets/exclamation-triangle.svg';
|
|
import styles from './ErrorMessage.module.css';
|
|
|
|
export default function ErrorMessage() {
|
|
return (
|
|
<div className={styles.error}>
|
|
<Icon icon={<Exclamation />} className={styles.icon} size="large" />
|
|
<FormattedMessage id="message.failure" defaultMessage="Something went wrong." />
|
|
</div>
|
|
);
|
|
}
|