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

Function feedbackTone

frontend/dashboard/src/components/Feedback.tsx:49–54  ·  view source on GitHub ↗
(result: FeedbackResult)

Source from the content-addressed store, hash-verified

47}
48
49function feedbackTone(result: FeedbackResult): string {
50 if (result.action === "updated") return "text-n-interactive";
51 if (result.ok) return "text-n-success";
52 if (result.action === "rate_limited") return "text-n-warning";
53 return "text-n-secondary";
54}
55
56export default function Feedback() {
57 const { recent } = useLiveData();

Callers 1

FeedbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected