mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-14 23:22:45 +00:00
fix: fix bug
This commit is contained in:
@@ -783,7 +783,7 @@ function _Chat() {
|
|||||||
}
|
}
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
chatStore
|
chatStore
|
||||||
.onUserInput(userInput, userImage.base64)
|
.onUserInput(userInput, userImage?.base64)
|
||||||
.then(() => setIsLoading(false));
|
.then(() => setIsLoading(false));
|
||||||
localStorage.setItem(LAST_INPUT_KEY, userInput);
|
localStorage.setItem(LAST_INPUT_KEY, userInput);
|
||||||
localStorage.setItem(LAST_INPUT_IMAGE_KEY, userImage);
|
localStorage.setItem(LAST_INPUT_IMAGE_KEY, userImage);
|
||||||
|
Reference in New Issue
Block a user