parent
ae24948861
commit
1cd566dd6f
|
@ -204,7 +204,11 @@ export default class Category extends React.Component {
|
||||||
<ul className="emoji-mart-category-list">
|
<ul className="emoji-mart-category-list">
|
||||||
{emojis &&
|
{emojis &&
|
||||||
emojis.map((emoji) => (
|
emojis.map((emoji) => (
|
||||||
<li key={emoji.id || emoji}>
|
<li
|
||||||
|
key={
|
||||||
|
(emoji.short_names && emoji.short_names.join('_')) || emoji
|
||||||
|
}
|
||||||
|
>
|
||||||
{NimbleEmoji({ emoji: emoji, data: this.data, ...emojiProps })}
|
{NimbleEmoji({ emoji: emoji, data: this.data, ...emojiProps })}
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Reference in New Issue