File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
apps/webapp/app/components Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 55 HandThumbUpIcon ,
66 StopIcon ,
77} from "@heroicons/react/20/solid" ;
8- import { KapaProvider , QA , useChat } from "@kapaai/react-sdk" ;
8+ import { FeedbackComment , KapaProvider , QA , useChat } from "@kapaai/react-sdk" ;
99import { useSearchParams } from "@remix-run/react" ;
1010import { motion } from "framer-motion" ;
1111import { marked } from "marked" ;
@@ -171,7 +171,11 @@ function ChatMessages({
171171 onReset : ( ) => void ;
172172 onExampleClick : ( question : string ) => void ;
173173 error : string | null ;
174- addFeedback : ( questionAnswerId : string , reaction : "upvote" | "downvote" , comment ?: any ) => void ;
174+ addFeedback : (
175+ questionAnswerId : string ,
176+ reaction : "upvote" | "downvote" ,
177+ comment ?: FeedbackComment
178+ ) => void ;
175179} ) {
176180 const [ feedbackGivenForQAs , setFeedbackGivenForQAs ] = useState < Set < string > > ( new Set ( ) ) ;
177181
You can’t perform that action at this time.
0 commit comments