An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
fix: prevent chat error icon from shrinking
Yoshiki Miura77947cf7cc8d
diff --git a/components/chat-error.tsx b/components/chat-error.tsxindex c5aeab9f..2232c0ce 100644--- a/components/chat-error.tsx+++ b/components/chat-error.tsx@@ -14,7 +14,7 @@ export function ChatError({ error }: ChatErrorProps) {return (<Card className="border-destructive bg-destructive/10 p-4"><div className="flex items-center gap-3">- <AlertCircle className="h-5 w-5 text-destructive" />+ <AlertCircle className="size-5 text-destructive flex-shrink-0" /><p className="text-sm text-destructive">{errorMessage}</p></div></Card>