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:
parent
58430bc702
commit
8ebee3f1ce
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ export const FestaUserRenderer = ({ userId, fallbackData }: FestaUserRendererPro
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
return (
|
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} />
|
<FestaIcon icon={faExclamationCircle} />
|
||||||
{userId}
|
{userId}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue