style: fix formatting issues in chat.tsx

This commit is contained in:
dakai
2024-10-05 19:05:07 +08:00
parent 05b16f54ab
commit 83f948239c
2 changed files with 29 additions and 2 deletions

View File

@@ -1038,7 +1038,7 @@ function _Chat() {
}
setIsLoading(true);
chatStore
.onUserInput(userInput, attachImages)
.onUserInput(userInput, attachImages, attachFiles)
.then(() => setIsLoading(false));
setAttachImages([]);
chatStore.setLastInput(userInput);