mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 12:40:16 +09:00
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) => {
|
return new Promise<string>((resolve) => {
|
||||||
let userInput = "";
|
let userInput = value;
|
||||||
|
|
||||||
root.render(
|
root.render(
|
||||||
<Modal
|
<Modal
|
||||||
|
Loading…
Reference in New Issue
Block a user