kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Add count to emoji reacts
rodzic
1b85b8e3f1
commit
79dc56372f
|
@ -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>
|
||||
))}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue