From 129e7afc160c5118d363ad10c9f937b4c6a78d40 Mon Sep 17 00:00:00 2001 From: Yidadaa Date: Mon, 31 Jul 2023 22:20:39 +0800 Subject: [PATCH] fix: #2514 should not clear the message after editing message --- app/components/ui-lib.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/ui-lib.tsx b/app/components/ui-lib.tsx index b9680912..bf83712d 100644 --- a/app/components/ui-lib.tsx +++ b/app/components/ui-lib.tsx @@ -377,7 +377,7 @@ export function showPrompt(content: any, value = "", rows = 3) { }; return new Promise((resolve) => { - let userInput = ""; + let userInput = value; root.render(