From 72a23cdfb51fbef1af5fdee735827a6fc2814088 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 6 May 2024 01:08:01 +0900 Subject: [PATCH] Update Chat.tsx recievedChatID -> receivedChatID --- src/components/Chat/Chat.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Chat/Chat.tsx b/src/components/Chat/Chat.tsx index d5ef39d0..e8cfe733 100644 --- a/src/components/Chat/Chat.tsx +++ b/src/components/Chat/Chat.tsx @@ -367,12 +367,12 @@ const ChatWithLLM: React.FC = ({ useEffect(() => { const handleChunk = async ( - recievedChatID: string, + receivedChatID: string, chunk: ChatCompletionChunk ) => { const newContent = chunk.choices[0].delta.content ?? ""; if (newContent) { - appendNewContentToMessageHistory(recievedChatID, newContent, "success"); + appendNewContentToMessageHistory(receivedChatID, newContent, "success"); } };