Skip to content

Commit 38cbdde

Browse files
committed
Use correct types for conversation
1 parent 3ddce5f commit 38cbdde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/app/components/AskAI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
HandThumbUpIcon,
66
StopIcon,
77
} from "@heroicons/react/20/solid";
8-
import { KapaProvider, useChat } from "@kapaai/react-sdk";
8+
import { KapaProvider, QA, useChat } from "@kapaai/react-sdk";
99
import { useSearchParams } from "@remix-run/react";
1010
import { motion } from "framer-motion";
1111
import { marked } from "marked";
@@ -165,7 +165,7 @@ function ChatMessages({
165165
error,
166166
addFeedback,
167167
}: {
168-
conversation: any[];
168+
conversation: QA[];
169169
isPreparingAnswer: boolean;
170170
isGeneratingAnswer: boolean;
171171
onReset: () => void;

0 commit comments

Comments
 (0)