MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / turnDotClass

Function turnDotClass

frontend/dashboard/src/components/Home.tsx:84–89  ·  view source on GitHub ↗
(g: TurnGroup)

Source from the content-addressed store, hash-verified

82}
83
84function turnDotClass(g: TurnGroup): string {
85 if (g.hasPending) return "bg-n-interactive animate-dotPulse";
86 const base = TIER_DOT[g.dominantTier] ?? "bg-n-success";
87 if (g.hasRouted) return `${base} animate-dotPulse`;
88 return base;
89}
90
91export default function Home({ stats }: Props) {
92 const { recent } = useLiveData();

Callers 1

HomeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected