From ba31fde785b323c1b2c8a9dbb4741437e04b909f Mon Sep 17 00:00:00 2001 From: Ilya Bondar Date: Tue, 31 Dec 2024 14:31:06 +0100 Subject: [PATCH] fix(chat): fix displaying like/dislike buttons into mobile menu (Issue #2894) --- apps/chat/src/components/Chat/ChatMessage/MessageButtons.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/chat/src/components/Chat/ChatMessage/MessageButtons.tsx b/apps/chat/src/components/Chat/ChatMessage/MessageButtons.tsx index 8c1293d66..2c40b23b9 100644 --- a/apps/chat/src/components/Chat/ChatMessage/MessageButtons.tsx +++ b/apps/chat/src/components/Chat/ChatMessage/MessageButtons.tsx @@ -317,8 +317,7 @@ export const MessageMobileButtons = ({ /> )} {isLikesEnabled && - (!message.errorMessage || - (message.content.trim() && message.errorMessage)) && ( + (message.content.trim() || !!getMessageCustomContent(message)) && ( <> {message.like !== LikeState.Disliked && (