mirror of
https://github.com/Steffo99/festa.git
synced 2025-03-11 11:17:45 +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) {
|
||||
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>
|
||||
|
|
Loading…
Add table
Reference in a new issue