<p className="mb-0">{i18n.t(`error.${error.response.status}.description`)}</p>
</Alert>;
}
+ if (error.message) {
+ return <Alert variant="danger">
+ <Alert.Heading>Error</Alert.Heading>
+ <p className="mb-0">{error.message}</p>
+ </Alert>;
+ }
return <div className="error">Error</div>;
};