// Handle feedback submission
const handleSubmitFeedback = () => {
// Include selected tags in the feedback text
const feedbackWithTags = feedback.feedbackText +
(selectedTags.length > 0 ? `\n\nTags: ${selectedTags.join(", ")}` : "");
// Submit feedback
submitFeedbackMutation.mutate({
...feedback,
feedbackText: feedbackWithTags
});
};
top of page
bottom of page