mirror of
https://github.com/stablyai/orca.git
synced 2026-09-30 08:03:12 +00:00
Match native chat skill icon to selector
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { NodeViewWrapper, type NodeViewProps } from '@tiptap/react'
|
||||
import { Cuboid } from 'lucide-react'
|
||||
import { Package } from 'lucide-react'
|
||||
import { Badge } from '@/components/ui/badge'
|
||||
|
||||
function skillLabel(token: string): string {
|
||||
@@ -20,7 +20,7 @@ export function NativeChatSkillPill({ node, selected }: NodeViewProps): React.JS
|
||||
data-native-chat-skill={token}
|
||||
className={`gap-1 border-border px-1.5 py-0 text-sm font-medium text-muted-foreground align-baseline ${selected ? 'ring-1 ring-ring' : ''}`}
|
||||
>
|
||||
<Cuboid className="size-4" aria-hidden="true" />
|
||||
<Package className="size-4" aria-hidden="true" />
|
||||
{skillLabel(token)}
|
||||
</Badge>
|
||||
</NodeViewWrapper>
|
||||
|
||||
Reference in New Issue
Block a user