mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
minor display change
This commit is contained in:
parent
07fcb3a72c
commit
19737d4cdc
2 changed files with 3 additions and 4 deletions
|
|
@ -53,9 +53,8 @@ export const ErrorDisplay = ({
|
|||
|
||||
<div className="flex gap-2">
|
||||
{details && (
|
||||
<button
|
||||
<button className="text-red-600 hover:text-red-800 p-1 rounded"
|
||||
onClick={() => setIsExpanded(!isExpanded)}
|
||||
className="text-red-600 hover:text-red-800 p-1 rounded"
|
||||
>
|
||||
{isExpanded ? (
|
||||
<ChevronUp className="h-5 w-5" />
|
||||
|
|
@ -65,9 +64,8 @@ export const ErrorDisplay = ({
|
|||
</button>
|
||||
)}
|
||||
{showDismiss && onDismiss && (
|
||||
<button
|
||||
<button className="text-red-600 hover:text-red-800 p-1 rounded"
|
||||
onClick={onDismiss}
|
||||
className="text-red-600 hover:text-red-800 p-1 rounded"
|
||||
>
|
||||
<X className="h-5 w-5" />
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -284,6 +284,7 @@ export const SidebarChat = () => {
|
|||
message={latestError.message}
|
||||
fullError={latestError.fullError}
|
||||
onDismiss={() => { setLatestError(null) }}
|
||||
showDismiss={true}
|
||||
/>}
|
||||
|
||||
<form
|
||||
|
|
|
|||
Loading…
Reference in a new issue