MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / handleClick

Function handleClick

ui/node-react/client/src/components/ChatView.js:396–400  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

394
395function FeedbackButtons({ onPositive, onNegative, confirmed }) {
396 const handleClick = (type) => {
397 if (confirmed) return;
398 if (type === 'positive') onPositive();
399 else onNegative();
400 };
401
402 // Already rated — show a compact indicator instead of clickable thumbs
403 if (confirmed) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected