We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16ef002 commit dfbc6aaCopy full SHA for dfbc6aa
packages/compass-generative-ai/src/components/ai-feedback.tsx
@@ -80,8 +80,8 @@ type AIFeedbackProps = {
80
function AIFeedback({ onSubmitFeedback }: AIFeedbackProps) {
81
const darkMode = useDarkMode();
82
83
- const feedbackPositiveButtonRef = useRef<HTMLInputElement>(null);
84
- const feedbackNegativeButtonRef = useRef<HTMLInputElement>(null);
+ const feedbackPositiveButtonRef = useRef<HTMLButtonElement>(null);
+ const feedbackNegativeButtonRef = useRef<HTMLButtonElement>(null);
85
86
const [chosenFeedbackOption, setChosenFeedbackOption] = useState<
87
'none' | 'positive' | 'negative'
0 commit comments