Add count to emoji reacts
This commit is contained in:
parent
1b85b8e3f1
commit
79dc56372f
1 changed files with 6 additions and 3 deletions
|
@ -37,9 +37,12 @@ export class StatusInteractionBar extends React.Component {
|
|||
|
||||
return (
|
||||
<>
|
||||
{this.filterEmoji(emojiReacts).map(e =>
|
||||
<span dangerouslySetInnerHTML={{ __html: emojify(e.get('name')) }} />
|
||||
)}
|
||||
{this.filterEmoji(emojiReacts).map(e => (
|
||||
<span className='emoji-react'>
|
||||
<span dangerouslySetInnerHTML={{ __html: emojify(e.get('name')) }} />
|
||||
<span>{e.get('count')}</span>
|
||||
</span>
|
||||
))}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue