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 (
|
return (
|
||||||
<>
|
<>
|
||||||
{this.filterEmoji(emojiReacts).map(e =>
|
{this.filterEmoji(emojiReacts).map(e => (
|
||||||
<span dangerouslySetInnerHTML={{ __html: emojify(e.get('name')) }} />
|
<span className='emoji-react'>
|
||||||
)}
|
<span dangerouslySetInnerHTML={{ __html: emojify(e.get('name')) }} />
|
||||||
|
<span>{e.get('count')}</span>
|
||||||
|
</span>
|
||||||
|
))}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue