Skip to content

Commit ef677b8

Browse files
authored
fix: do not show reactions bubble on deleted message (#2594)
1 parent 1eb12c4 commit ef677b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/Message/MessageSimple/MessageSimple.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const MessageSimpleWithContext = <
8484
const messageGroupedSingleOrBottom =
8585
groupStyles.includes('single') || groupStyles.includes('bottom');
8686

87-
const showReactions = hasReactions && ReactionList;
87+
const showReactions = message.type !== 'deleted' && hasReactions && ReactionList;
8888

8989
const lastMessageInMessageListStyles = [styles.lastMessageContainer, lastMessageContainer];
9090
const messageGroupedSingleOrBottomStyles = [

0 commit comments

Comments
 (0)