From 9a421b0b8a9f36070cf3708260f96214d3ace822 Mon Sep 17 00:00:00 2001 From: Roman Zavarnitsyn Date: Fri, 30 May 2025 01:03:50 +0200 Subject: [PATCH] Revert some stuff --- 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 85923c14..3608b8bc 100755 --- a/client/src/components/comments/Comments/Add.jsx +++ b/client/src/components/comments/Comments/Add.jsx @@ -56,7 +56,7 @@ const Add = React.memo(() => { }; if (!cleanData.text) { - textFieldRef.current?.focus(); + textFieldRef.current?.select(); return; }