mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-25 23:20:19 +09:00
fix: fix bug
This commit is contained in:
parent
22c0b914d7
commit
addfbd298a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user