mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 13:38:48 +08:00
fix: #2514 should not clear the message after editing message
This commit is contained in:
@@ -377,7 +377,7 @@ export function showPrompt(content: any, value = "", rows = 3) {
|
||||
};
|
||||
|
||||
return new Promise<string>((resolve) => {
|
||||
let userInput = "";
|
||||
let userInput = value;
|
||||
|
||||
root.render(
|
||||
<Modal
|
||||
|
Reference in New Issue
Block a user