import { Icon, Icons, Text } from 'react-basics'; import styles from './ErrorMessage.module.css'; import useMessages from 'hooks/useMessages'; export function ErrorMessage() { const { formatMessage, messages } = useMessages(); return (
{formatMessage(messages.error)}
); } export default ErrorMessage;