@@ -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))}
|
||||||
<span style={{ opacity: '.6' }}>
|
{index < userIds.length - 1 && (
|
||||||
{index === userIds.length - 1 ? ' and ' : ', '}
|
<span style={{ opacity: '.6' }}>
|
||||||
</span>
|
{index === userIds.length - 2 ? ' and ' : ', '}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
<span style={{ opacity: '.6' }}>{' reacted with '}</span>
|
<span style={{ opacity: '.6' }}>{' reacted with '}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user