Skip to content

Commit

Permalink
Refactor CopilotDisplay component
Browse files Browse the repository at this point in the history
  • Loading branch information
miurla committed May 11, 2024
1 parent fa8b7f9 commit b5ecf01
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/copilot-display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)
Expand Down

0 comments on commit b5ecf01

Please sign in to comment.