Allow the fallback emoji to be optional, will display nothing.

nolan/hinaloe-test
Sam Kelleher 2017-05-25 18:27:30 +01:00
parent 021f7b8db6
commit 95be21383d
No known key found for this signature in database
GPG Key ID: 482BDE9844A397AC
1 changed files with 2 additions and 2 deletions

View File

@ -53,10 +53,10 @@ export default class Preview extends React.Component {
} else {
return <div className='emoji-mart-preview'>
<div className='emoji-mart-preview-emoji'>
<Emoji
{idleEmoji.length > 0 && <Emoji
emoji={idleEmoji}
{...emojiProps}
/>
/>}
</div>
<div className='emoji-mart-preview-data'>