mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-07 17:18:21 +08:00
fixup
This commit is contained in:
@@ -445,8 +445,10 @@ export function Chat(props: {
|
||||
chatStore
|
||||
.onUserInput(messages[i].content)
|
||||
.then(() => setIsLoading(false));
|
||||
chatStore.updateCurrentSession((session) =>
|
||||
session.messages.splice(i, 2),
|
||||
);
|
||||
inputRef.current?.focus();
|
||||
messages.splice(i, 2);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user