mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-25 07:00:23 +09:00
fix: fix bug
This commit is contained in:
parent
22c0b914d7
commit
addfbd298a
@ -783,7 +783,7 @@ function _Chat() {
|
||||
}
|
||||
setIsLoading(true);
|
||||
chatStore
|
||||
.onUserInput(userInput, userImage.base64)
|
||||
.onUserInput(userInput, userImage?.base64)
|
||||
.then(() => setIsLoading(false));
|
||||
localStorage.setItem(LAST_INPUT_KEY, userInput);
|
||||
localStorage.setItem(LAST_INPUT_IMAGE_KEY, userImage);
|
||||
|
Loading…
Reference in New Issue
Block a user