fix reaction bug

This commit is contained in:
2024-09-27 16:16:45 +03:00
parent 56b66cf988
commit 1144e4280a
2 changed files with 57 additions and 38 deletions

View File

@@ -234,7 +234,11 @@ export const MessageItem = ({
handleReaction(reaction, message, true)
}
}}>
<div>{reaction}</div>
<div>{reaction}</div> {numberOfReactions > 1 && (
<Typography sx={{
marginLeft: '4px'
}}>{' '} {numberOfReactions}</Typography>
)}
</ButtonBase>
)
})}