From e080d30b3212f9d1801a3138cb4adf5582974e0a Mon Sep 17 00:00:00 2001 From: keke <60368137+kekekuli@users.noreply.github.com> Date: Wed, 15 Oct 2025 00:45:41 +0800 Subject: [PATCH] fix: Always display "Add comment" button when input has text (#1379) Closes #1350 --- client/src/components/comments/Comments/Add.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/comments/Comments/Add.jsx b/client/src/components/comments/Comments/Add.jsx index 015d5935..c40768aa 100755 --- a/client/src/components/comments/Comments/Add.jsx +++ b/client/src/components/comments/Comments/Add.jsx @@ -173,7 +173,7 @@ const Add = React.memo(() => { /> - {isOpened && ( + {(isOpened || data.text.length > 0) && (