Skip to content

Commit

Permalink
fix(chat): fix displaying like/dislike buttons into mobile menu (Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaBondar committed Dec 31, 2024
1 parent bb429cf commit ba31fde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/chat/src/components/Chat/ChatMessage/MessageButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ export const MessageMobileButtons = ({
/>
)}
{isLikesEnabled &&
(!message.errorMessage ||
(message.content.trim() && message.errorMessage)) && (
(message.content.trim() || !!getMessageCustomContent(message)) && (
<>
{message.like !== LikeState.Disliked && (
<MenuItem
Expand Down

0 comments on commit ba31fde

Please sign in to comment.