mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 06:50:28 +03:00
Fix reaction tooltip message
Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
parent
a59aa2c30f
commit
b008c5f07f
1 changed files with 5 additions and 3 deletions
|
|
@ -304,9 +304,11 @@ function genReactionMsg(userIds, reaction) {
|
||||||
{userIds.map((userId, index) => (
|
{userIds.map((userId, index) => (
|
||||||
<React.Fragment key={userId}>
|
<React.Fragment key={userId}>
|
||||||
{twemojify(getUsername(userId))}
|
{twemojify(getUsername(userId))}
|
||||||
|
{index < userIds.length - 1 && (
|
||||||
<span style={{ opacity: '.6' }}>
|
<span style={{ opacity: '.6' }}>
|
||||||
{index === userIds.length - 1 ? ' and ' : ', '}
|
{index === userIds.length - 2 ? ' and ' : ', '}
|
||||||
</span>
|
</span>
|
||||||
|
)}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
<span style={{ opacity: '.6' }}>{' reacted with '}</span>
|
<span style={{ opacity: '.6' }}>{' reacted with '}</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue