fix: #2514 should not clear the message after editing message

This commit is contained in:
Yidadaa 2023-07-31 22:20:39 +08:00
parent e83e0f6a33
commit 129e7afc16

View File

@ -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