Merge pull request #2524 from Yidadaa/bugfix-0731

fix: #2514 should not clear the message after editing message
This commit is contained in:
Yifei Zhang 2023-07-31 22:23:11 +08:00 committed by GitHub
commit e354fca4a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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