An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Refactor CopilotDisplay component
Yoshiki Miurab5ecf017f221
diff --git a/components/copilot-display.tsx b/components/copilot-display.tsxindex 91a817d6..34d22158 100644--- a/components/copilot-display.tsx+++ b/components/copilot-display.tsx@@ -20,10 +20,7 @@ export function CopilotDisplay({ content }: CopilotDisplayProps) {return (<Card className="p-3 md:p-4 w-full flex justify-between items-center">- <div className="flex items-center space-x-2 flex-1 min-w-0">- <IconLogo className="w-4 h-4 flex-shrink-0" />- <h5 className="text-muted-foreground text-xs truncate">{query}</h5>- </div>+ <h5 className="text-muted-foreground text-xs truncate">{query}</h5><Check size={16} className="text-green-500 w-4 h-4" /></Card>)