mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-28 19:05:31 +02:00
Render error better in server cardsg
This commit is contained in:
parent
8096eaf63b
commit
b7b84252ce
1 changed files with 4 additions and 4 deletions
|
|
@ -280,10 +280,10 @@ export function ServerCard({
|
|||
)}
|
||||
</div>
|
||||
{error && (
|
||||
<div className="text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20
|
||||
py-1 px-2 rounded-md mt-2 animate-fadeIn">
|
||||
{error.message}
|
||||
</div>
|
||||
<div
|
||||
className="text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20 py-1 px-2 rounded-md mt-2 animate-fadeIn"
|
||||
dangerouslySetInnerHTML={{ __html: error.message }}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue