(type)
| 394 | |
| 395 | function 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) { |
nothing calls this directly
no outgoing calls
no test coverage detected