1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-10-16 06:57:26 +00:00

Just display errors as a string

This commit is contained in:
Steffo 2022-07-27 03:16:10 +02:00
parent 58430bc702
commit 8ebee3f1ce
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -20,7 +20,7 @@ export const FestaUserRenderer = ({ userId, fallbackData }: FestaUserRendererPro
if (error) {
return (
<span className={classNames(style.festaUserRenderer, mood.negative, cursor.hoverable)} title={error.response ? error.response.data : error}>
<span className={classNames(style.festaUserRenderer, mood.negative, cursor.hoverable)} title={error.toString()}>
<FestaIcon icon={faExclamationCircle} />
{userId}
</span>