MCPcopy Create free account
hub / github.com/idosal/git-mcp / getStatusIcon

Function getStatusIcon

app/chat/components/tool-invocation.tsx:47–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 };
46
47 const getStatusIcon = () => {
48 if (state === "call") {
49 if (isLatestMessage && status !== "ready") {
50 return <Loader2 className="animate-spin h-3.5 w-3.5 text-primary/70" />;
51 }
52 return (
53 <Circle className="h-3.5 w-3.5 fill-muted-foreground/10 text-muted-foreground/70" />
54 );
55 }
56 return <CheckCircle2 size={14} className="text-primary/90" />;
57 };
58
59 const getStatusClass = () => {
60 if (state === "call") {

Callers 1

ToolInvocationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected