forked from XiaoMo/ChatGPT-Next-Web
fix: #2514 should not clear the message after editing message
This commit is contained in:
parent
e83e0f6a33
commit
129e7afc16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user