Skip to content

Commit 01c38fc

Browse files
committed
fix(chat): use readable foreground color for chat error banner
1 parent 4711495 commit 01c38fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/features/chat-page/chat-page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ const ChatMessages = memo(function ChatMessages({ profilePicture }: { profilePic
304304
user (architect2 SEV-1 B6).
305305
*/}
306306
{error && (
307-
<div className="flex items-center gap-3 py-4 px-4 mx-auto max-w-md rounded-md bg-destructive/10 border border-destructive/30 text-destructive-foreground text-sm">
307+
<div className="flex items-center gap-3 py-4 px-4 mx-auto max-w-md rounded-md bg-destructive/10 border border-destructive/30 text-foreground text-sm">
308308
<span>
309309
{error instanceof Error ? error.message : String(error)}
310310
</span>

0 commit comments

Comments
 (0)