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>
|
</div>
|
||||||
{error && (
|
{error && (
|
||||||
<div className="text-xs text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-900/20
|
<div
|
||||||
py-1 px-2 rounded-md mt-2 animate-fadeIn">
|
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}
|
dangerouslySetInnerHTML={{ __html: error.message }}
|
||||||
</div>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue