Fix mentions component remounting that forced user to click 2 times (#15474)

This commit is contained in:
Volodymyr Kozieiev 2023-03-27 12:29:09 +01:00 committed by GitHub
parent 7f87c007c1
commit b121678281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@
:sending-image (seq images)
:refs refs}]]]]
(if suggestions?
[mentions/mentions params insets]
[mentions/mentions (select-keys params [:refs :suggestions :max-y]) insets]
[controls/view send-ref record-ref params insets chat-id images
edit #(clean-and-minimize params)])
;;;;black background