diff --git a/src/chatbox.tsx b/src/chatbox.tsx index 2e0b862..2bbd917 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -592,7 +592,7 @@ export default function ChatBOX(props: { body: formData, }); - const { text } = await response.json(); + const text = await response.text(); setInputMsg(inputMsg ? inputMsg + " " + text : text); } catch (error) {