Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiewor committed Nov 4, 2024
1 parent 70f1b74 commit fa8a888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ const Chat = () => {
setSelectedAnswer(index);
};

const handleSelect = (value: KnowledgeBase) => {
setKnowledgeBase(value);
const handleSelect = (value: string) => {
setKnowledgeBase(value as KnowledgeBase);
};

return (
Expand Down

0 comments on commit fa8a888

Please sign in to comment.