chore: misc updates and fixes
- lib/utils.ts: Add getArchetypeDisplayChar helper (duplicate of src/lib) - globals.css: Style updates - swarm-command-feed.tsx: Component updates - telemetry-grid.tsx: Use getArchetypeDisplayChar - test-watcher.ts: Test utility updates
This commit is contained in:
parent
1ee8dc8ca2
commit
5ff4469dd5
5 changed files with 24 additions and 19 deletions
|
|
@ -4,3 +4,7 @@ import { twMerge } from "tailwind-merge";
|
|||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
||||
export function getArchetypeDisplayChar(archetype: { icon?: string; name: string }): string {
|
||||
return archetype.icon || archetype.name.charAt(0) || '?';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue